Get Ubuntu System facts with facter
Posted by admin on February 28th, 2008
Email This Post
It is easy to extend Facter to include your own custom facts or to include additional mechanisms for retrieving facts.
Install facter in Ubuntu
sudo apt-get install facter
This will complete the installation.
Using facter
factor syntax
factor OPTION
If you want to view your system facts just type the following command from your terminal
facter
Output looks like below

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


February 28th, 2008 at 3:42 pm
All I have to say is, “Wow”. This is just plain cool and will most likely make its way to all my servers.
Thanks much
February 28th, 2008 at 5:46 pm
Nice article, thanks.
Just a small note, though: Erasing a part of the fqdn might be a good idea - but the values of hostname and domain are still visible…
February 28th, 2008 at 8:29 pm
thanks mate i updated the image