The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to read the data from an excel sheet and use those data as variable in the unix c Anne Grace UNIX for Advanced & Expert Users 1 03-03-2008 07:21 AM
how to verify that copied data to remote system is identical with local data. ynilesh Shell Programming and Scripting 3 01-31-2008 08:55 AM
Announcing collectl - new performance linux performance monitor MarkSeger News, Links, Events and Announcements 0 10-26-2007 06:14 PM
Howto capture data from rs232port andpull data into oracle database-9i automatically boss UNIX for Dummies Questions & Answers 1 09-23-2007 02:35 AM
Using loop reading a file,retrieving data from data base. Sonu4lov Shell Programming and Scripting 1 01-19-2007 03:38 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-16-2008
Eliteforce Eliteforce is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
Exclamation Performance data, *nix

Hello,

I want to write a tool which fetches performance data from remote machines. Sounds easy? well there are some requirements:
No extra "client" software should be needed on the hosts, remote shell access (e.g. SSH) should be enough. -> I'm limited to a small amount of tools.
I want CPU, disk, memory and network data.
Monitoring should work on: Linux, Solaris, AIX, HP-UX

So what I'm working on right now is to find out what tools can be used for that task, on which systems they are available, how does the man page and output look like .. since that differs on every platform. The result of this should be an "intersection" of tools and their measured values.

Here are tools I've found so far:

procps
vmstat
free
df (useful: -k -P -l, -P not available on solaris)
uptime

sysstat
sar
iostat (-c, -d, -x no on solaris, -t solaris only)
mpstat

net-tools
netstat (-i, -s not on solaris)

Now what do you think of the idea?
One of my big problems is that I don't have access to Solaris, AIX, HP-UX at the moment, so I could just look up man pages on google, maybe you can help me?

Thanks in advance,
regards
  #2 (permalink)  
Old 04-16-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
My advice would be to login into each machine, check what's installed, and then start writing the script. Then, you can wrap around a "case" for the respective OS. We don't know the versions of your OSes too.
  #3 (permalink)  
Old 04-17-2008
Eliteforce Eliteforce is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
I don't have access to machines running these systems (except linux). Right now I'm doing feasibility analysis so I need as much data as possible.
And I wouldnt wrap a case around each OS/version, I'd rather write a robust parser which can handle different output formats automatically as far as that's possible.
  #4 (permalink)  
Old 04-21-2008
Eliteforce Eliteforce is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
So if someone has access to one of those systems the output / man-pages of these commands would be very helpful.
  #5 (permalink)  
Old 04-21-2008
sysgate's Avatar
sysgate sysgate is offline Forum Advisor  
Unix based
  
 

Join Date: Nov 2006
Location: Bulgaria
Posts: 1,318
You can easily gather such data by yourself, just have to spend 30 minutes. Use the following when googling : <man command os>, as in :
man df solaris - on this example the very first result is exactly what you need.
Also, some of the suggested commands may not be installed on the particular machine, so in any way to have to login and check, different versions of the installed software may also be significant.
  #6 (permalink)  
Old 04-23-2008
Eliteforce Eliteforce is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 6
google searches result in so much garbage.. :P
in the meantime I got access to machines running some of the platforms mentioned in the first post...
Closed Thread

Bookmarks

Tags
linux, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:57 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0