LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-28-2009, 02:23 PM   #1
investmentbnker75
Member
 
Registered: Oct 2007
Location: Eastern Seaboard
Distribution: CentOS
Posts: 162

Rep: Reputation: 15
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.
 
Old 06-28-2009, 03:36 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I don't intend to be unhelpful but I really think you should find out how to perform these information gathering tasks on each of the target systems yourself.

Usually information about a running system is displayed using individual utilities. These utilities would have to be installed on all of the target systems. Unfortunately these utilities often use different syntax on each platform.

The good news is that utilities intended to display system information almost always obtain that information from pseudo files in the /proc directory.
 
Old 06-28-2009, 04:37 PM   #3
LeeDaugherty
LQ Newbie
 
Registered: Jun 2009
Location: Grapevine, TX
Distribution: Ubuntu Jaunty (Netbook-Remix)
Posts: 7

Rep: Reputation: 0
This might be going in an opposite direction...but it sounds like you might want to check out a personal favorite program of mine: Conky! It supports Linux and BSD flavors...

http://conky.sourceforge.net/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple character replacement by shell script mauran Programming 14 07-13-2007 02:46 AM
executing multiple files (one after another) through shell script bilal_linux Programming 1 07-07-2007 01:31 AM
can you do threading or multiple processes in a shell script? BrianK Programming 8 08-07-2006 04:40 PM
shell script - while loop with multiple conditions ronsha Programming 13 12-10-2005 04:08 PM
Need help with shell script - renaming multiple files NiallC Linux - Newbie 25 07-04-2004 10:45 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration