Tool

fpernet's picture
tool
Reads:

6390

Score:
2
2
1
 
Comments:

3

sysinfong.sh

(View Disclaimer)

license: 
free

sysinfong.sh

I was looking for a tool able to retrieve the most important parts of the configuration for my Linux servers (SLES and OES). This tool should be able to point out all the relevant parts of the configuration I would need in my customers site or for my company (main hardware parts, kernel config, lvm, etc...) in a very simple way to use and to report.

An old tool existed from the orignal authors Makarand Hazarika and Siddhartha Sarkar called sysinfo. But this tool was too complicated to use but mainly not maintained for modern command line tools and hardware parts (EVMS; LVM, VmWare, etc...).

On the other hand, I wanted to be able to publish the report on a Web site (Wiki, Nagios doc, etc...), so I wrote it with this goal in mind...

So I decided to write it by myself. You can easily understand that anyone of you, even not programmer, can extend it for new features they would like to see (please share your improvments).

Here is the help in order to figure out what is actually supported.

Usage: sysinfo [OPTION]...

Options:
	 --help                display this help and exit
	 --version             display version and exit
	 --all                 display all information
	 --std                 display enough information (those marked with an *) for regular use
	 --suseversion  *      display details for suse only version including oes
	 --vmware              display vmware tools version and if running
	 --kernel       *      display kernel information including boot loader menu
	 --memcpu       *      display cpu and memory details
	 --disk         *      display disks and partitions informations
	 --evms                display evms informations on mounted volumes if any - includes NSS informations on pools
	 --lvm                 display lvm informations on mounted volumes if any
	 --pci          *      display PCI information
	 --proc         *      display currently running processs
	 --level        *      display all services planed for the default runlevel
	 --nwinfo       *      display network information
	 --bios                display advanced hardware information (needs root priviledge)
	 --usertot             display total users in host
	 --updates             display configuration and list of available updates on this server (could slow down runtime)
	 --novell              display configuration for edirectory and nss services from novell (only if an OES is detected)

All the details can be found in the README file...

AnhangGröße
sysinfong.131.zip10.03 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

thorsten_kampe's picture

Script doesn't work on Linux...

Submitted by thorsten_kampe on 31 December 2009 - 7:47am.

...because of Windows line endings (CR LF)

fpernet's picture

oups

Submitted by fpernet on 1 January 2010 - 9:17am.

you are right. I just rediscovered binary mode when tranfering files ... version 1.31 just published should correct this issue + some other minor bugs
Thx

SeaPhor's picture

I had a similar issue

Submitted by SeaPhor on 2 October 2010 - 9:13am.

I had a need at work to gather, as you said, the most pertinent info and generate a report and a set of logs/files for others to sort through. So I created a simple bash script to do this. I would appreciate any feedback on it, and will send the latest version of it to any if contacted.
TY

© 2013 Novell