Wednesday, April 17, 2013

Retrieve system information with facter

The facter is a Ruby tool that provides system information in "key=>value" pairs. Following are some examples:

# facter
architecture => x86_64
...
is_virtual => false
...
memoryfree => 20.15 GB
...
netmask => 255.255.255.0
...

# facter timezone
EDT

No comments: