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 ...
- 06-28-2009 #1Just 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.
- 06-28-2009 #2Linux Guru
- 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!
- 06-29-2009 #3Just 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.
- 06-29-2009 #4Linux Engineer
- 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, drlWelcome - 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 )
- 07-13-2009 #5Just 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.
- 07-13-2009 #6
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.
- 07-13-2009 #7Linux Newbie
- Join Date
- Mar 2009
- Posts
- 228
For help with HP-UX I suggest you go to HP's ITRC at IT Resource Center.


Reply With Quote