Thursday, September 8, 2011

Linux system info script - latest version

Whenever I work on Performance issue of a Linux server or when I do any Server Audit, I used to wonder how great it would be if I have a script that will give me all the vital information about the system including the Health status and Security settings. I put my thought into action and this Perl script is a result of it.

Upon execution with the syntax "perl sysinfo.pl", it will display all the vital System parameter details, Health Status and the Security Information on ONE screen.

Supported Platform :  Any Physical or VMware Server running on Linux OS with Perl installed.
Packages required : The Linux machine should contain 'sysstat' and 'dmidecode-2.xx' package,

URL to download the script: http://db.tt/6dGpUUum
Once you download, please run the following command to convert the script into Unix format: # dos2unix sysinfo.pl

SAMPLE OUTPUT

Note: I shall keep adding new features to this script. Hence please use the given download link to get the latest version.

PS: The Logics used in this script are chosen based on appropriate theory on Linux to ensure the accuracy of output.
Any feedback or suggestions are most welcome!! 

13 comments:

  1. hi ashoh, it is very gud script. I look for this script from somemany day. Thanks for help me.

    ReplyDelete
  2. Thanks, watch out for next version soon.

    ReplyDelete
  3. Appreciate your work, Really nice script to fetch system information. eager to see next version.

    Prasad Mukhedkar

    ReplyDelete
  4. Hello sir, can i run this script without root. run by a user.

    ReplyDelete
  5. @Sachin, Yes - you should run this script as only as 'root' user.

    ReplyDelete
  6. I am not able to use the script dos2unix sysinfo.pl after installing the package sysstat' and 'dmidecode-2.xx' package,on my ubuntu machine i am getting the error.

    # dos2unix sysinfo.pl
    dos2unix: sysinfo.pl: No such file or directory
    dos2unix: Skipping sysinfo.pl, not a regular file.

    ReplyDelete
    Replies
    1. Looks like the script file "sysinfo.pl" isn't available in the path where you execute "dos2unix" command. Please check it out.

      Delete
  7. I also have download the the script: http://db.tt/6dGpUUum .Please help ..

    ReplyDelete
    Replies
    1. Latest version uploaded. Please check it out.

      Delete
  8. Wow Wow .... what a script amazing

    ReplyDelete
  9. Hello,
    is that possible to include:

    1) checking of filesystems <-- MAJOR
    2) checking of all disks
    3) checking of LVM (if present)
    4) daemonize

    Thank you. Really good work!
    Claudio

    ReplyDelete