Facter - Collect and display facts/information about the system like uptime, OS info, memory usage, PATH, processor, n/w etc.
FORMAT
facter [-d|--debug] [-h|--help] [-p|--puppet] [-v|--version] [-y|--yaml] [-j|--json] [fact] [fact] [...]
DESCRIPTION
Collect and display facts about the current system. The library behind Facter is easy to expand, making Facter an easy way to collect information about a system from within the shell or within Ruby.
OPTIONS
puppet: Load the Puppet libraries, thus allowing Facter to load Puppet specific (custom) facts
...
Read more »