8: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:
| [2016-12-25] | [Open System-Linux] |
Guide for working with zipped and archived files in Linux/AIX | |
| [2014-04-24] | [Open System-Linux] |
Addition of two numbers using shell scripting in UNIX | |
| [2014-03-13] | [Open System-Linux] |
crontab: A command in linux to automatically start/repeat a process at certian time and interval | |
| [2014-03-12] | [Open System-Linux] |
uptime command in Linux | |
| [2017-08-22] | [Open System-Linux] |
Difference between tailf and tail -f in Linux | |
| Total comments: 0 | |
Guide for working with zipped and archived files in Linux/AIX
Addition of two numbers using shell scripting in UNIX
crontab: A command in linux to automatically start/repeat a process at certian time and interval
uptime command in Linux
Difference between tailf and tail -f in Linux