SUSE Conversations


sysinfong.sh



By: fpernet

December 30, 2009 12:50 pm

Reads:233

Comments:3

Rating:0

License:
Free

Download sysinfong.131

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…

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags:
Categories: Free Tools, SUSE Linux Enterprise Server, Technical Solutions

3 Comments

  1. By:thorsten_kampe

    …because of Windows line endings (CR LF)

  2. By:fpernet

    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

  3. By:SeaPhor

    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

Comment

RSS