7:25 PM FACTER command in Linux : showing system facts |
Facter - Collect and display facts/information about the system like uptime, OS info, memory usage, PATH, processor, n/w etc. FORMAT DESCRIPTION OPTIONS version: Print the version and exit. help: Print this help message. debug: Enable debugging. trace: Enable backtraces. timing: Enable timing. EXAMPLE
If no facts are specifically asked for, then all facts of the system will be printed.
We can specify a fact also and facter will return the info for that fact. For example if we want to know the uptime of the system,
You can use grep on top of facter to fetch any system information. Its really helpful to get any information about a system. Example:
|
|
Related blogs
You may also like to see:
[2014-02-27] | [Open System-Linux] |
RSYNC : A command in linux to copy files remotely. Faster and more flexible than rcp |
[2015-03-23] | [Open System-Linux] |
FSCK : Checking and reparing filesystems in Linux |
[2016-01-23] | [Open System-Linux] |
Some useful examples of netstat command in Linux for network statistics |
[2015-06-01] | [Open System-Linux] |
DIG command : A DNS lookup utility |
[2014-12-03] | [Open System-Linux] |
GREP command in Linux to search for a pattern |
Total comments: 0 | |