Find the answer to your Linux question:
Results 1 to 7 of 7
Hi, i need a script that will give as much system info such as CPU usage, partition info, mem usage, etc.. from multiple OS's, FreeBSD, AIX, HP-UX. I only know ...
  1. #1
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3

    Shell script for multiple OS

    Hi, i need a script that will give as much system info such as CPU usage, partition info, mem usage, etc.. from multiple OS's, FreeBSD, AIX, HP-UX. I only know SCO unix and dont know the commands on the other OS's. If someone has a script they can share or has these commands that would be great. Thanks for the help in advance.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The problem isn't the script, though for support of all these systems you probably want to use either ksh (the Korn Shell) or csh (the standard C Shell), so much as the system commands necessary to get the information you want. These will vary quite significantly between the systems you mention.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3
    Umm...i dont know what the was purpose of your post, to tell me something i already knew? I think i covered that in my original post.

  4. #4
    drl
    drl is offline
    Linux Engineer drl's Avatar
    Join Date
    Apr 2006
    Location
    Saint Paul, MN, USA / CentOS, Debian, Solaris, SuSE
    Posts
    1,117
    Hi.

    It sounds like you are seeking real-time monitoring tools. These are not always simple shell scripts; one list of such tools for Linux is 20 Linux System Monitoring Tools Every SysAdmin Should Know and the reply comments provide a number of alternate suggestions.

    Using a Google search would be a useful additional approach.

    One comprehensive network tool that is often mentioned is Nagios - The Leader and Industry Standard in Enterprise System, Network, and Application Monitoring

    Good luck ... cheers, drl
    Welcome - get the most out of the forum by reading forum basics and guidelines: click here.
    90% of questions can be answered by using man pages, Quick Search, Advanced Search, Google search, Wikipedia.
    We look forward to helping you with the challenge of the other 10%.
    ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP )

  5. #5
    Just Joined!
    Join Date
    Jun 2009
    Posts
    3
    No, im actually lookin for a script the returns things like Sytem name. os version, system fqdn, disk info and memory info. I wrote something for Linux but i am not familiar with HP-UX so thats why im seeking help.

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    As this is a linux forum, you would likely have more luck with a unix question on a unix forum, especially since you said you already wrote something for linux, unless that isn't complete.

  7. #7
    Linux Newbie
    Join Date
    Mar 2009
    Posts
    228
    For help with HP-UX I suggest you go to HP's ITRC at IT Resource Center.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...