UGU: Unix Guru Universe - System Info
- Home : Software
: PROJECTS
: System Info
: pget
: get
: id3out
System Info
systeminfo.sh is a system information gathering script for linux systems.
It in non-intrusive and simply gathers information from linux commands that are already available.
The output can be one large
text file and/or a
menu driven web page.
Distribute freely... Modify openly... Send me any updates or ideas.
Check out a DEMO.
See how to CENTRALIZE the system information pages generated.
CYA STATEMENT: *** USE AT YOUR OWN RISK ***
The script does not write over any system files,
unless someone modifies it to do so.
ALWAYS TEST SCRIPTS ON A NON-PRODUCTION SYSTEM.
|
Types of information gathered:
Host RPMs Memory OS Info Process Info Kernel Mods Network Interfaces
|
Network Routes Socket Ports ulimits chkconfig H/W Devices Cron Jobs top
|
swap disks DNS info processors Meminfo dmesg AND MORE....
|
Syntax & Usage:
systeminfo.sh [OPTION]
Only one option is allowed at a time:
-a : Display to stdout, generate web pages and tar file.
-d : Display to stdout ONLY.
-h : Display this message.
-t : Creates just a tar file of the web pages.
-w : Create web pages and master info file ONLY.
Default (no options) is the same as -d.
|
CHANGE LOG:
V1.4 |
04/17/2006 |
Bug Fix: html fix.
Code mode: Memory collection uses meminfo not procinfo now.
|
V1.3 |
03/16/2006 |
By request... Default without options produces stdout,tar,webpages.
vmstat info moved to the bottom of system section.
Functional rewrite. Collection is done is a single pass now.
Status updates are displayed for -t and -w options
Additional arguments added:
-a : Collect info, generate web pages and tar file, then display to stdout.
-d : Display to stdout as it collects the info.
-h : Display this message.
-t : Creates just a tar file of the web pages for centralizing.
-w : Creates just the web pages and master info file.
|
V1.2 |
03/10/2006 |
Fix ifconfig and nic's
added vmstat info
iostat to disk and CPU sections.
added option to publish to stdout ONLY use: "-d"
|
V1.1 |
03/03/2006 |
Added sysctl kernel info.
Added on root can execute
Fixed mii-tool issue
uname bug fix. Some options aren't available on older versions
Added display and output version number
|
V1.0 |
03/02/2006 |
First release! |
|