Sponsored Content
Top Forums Shell Programming and Scripting Performance Monitoring script for UNIX servers Post 302893386 by ssk250 on Wednesday 19th of March 2014 04:34:13 AM
Old 03-19-2014
Performance Monitoring script for UNIX servers

Hi,

I have been working on writing an automated script that will run 24x7 to monitor the performance parameters like CPU,Memory,Disk I/O,Network,SWAP Space etc for all types of Unix servers ( HP-UX,AIX,SOLARIS,LINUX).

Problem is I am confused with the commands top,prstat,vmstat,free,sar etc.

Can anyone help me to understand which is the best command that provides info about CPU and Memory for all or individually(Solaris,AIX,Linux,HP-UX).

Also please share any of the scripts you have for monitoring the performance of Unix servers and any other parameters that are needed to monitor to judge the performance of an Application or Database Server



Thanks in advance....

Regards
SSK250 SmilieSmilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix performance monitoring via Windows/NT

We are trying to Monitor Unix via Window95/98 on an NT network. Is there anyone that could point us in the direction on software that runs in Windows on a Telnet connection that we could use to accomplish this? We have tried a program called Unix Watcher by Etasoft and can' get it to connect. ... (6 Replies)
Discussion started by: btrout
6 Replies

2. UNIX for Dummies Questions & Answers

hardware monitoring on unix servers (Sun and Bull AIX)

Hello, I was given the task to write a shell script that must detect hardware problems on Unix Solaris and AIX servers. Problems that should be detected by this script are for example: abnormally high temperature or voltage etc... So, does anyone know if that kind of information is logged in a... (2 Replies)
Discussion started by: VeroL
2 Replies

3. UNIX for Advanced & Expert Users

Performance Monitoring

Hi all The place I work for is about to to place there database server under heavy load for testing and would like the effect recorded as much as possible. Can anyone point me in the right direction with respect to real time system monitoring. I am aware of of 'sar', vmstat etc and hope to... (2 Replies)
Discussion started by: silvaman
2 Replies

4. UNIX for Dummies Questions & Answers

Performance monitoring

Hello, I am trying to find a way to view current CPU and disk usage. I used to use nmon which worked fine but since an upgrade to our servers this is no longer available. I have tried to get it reinstalled to no avail! Are there any other commands you can use within unix which will allow me... (4 Replies)
Discussion started by: johnwilliams
4 Replies

5. UNIX for Dummies Questions & Answers

Unix performance monitoring counters

Which performance counters you might to define as "The most important counters in checking unix performance" (3 Replies)
Discussion started by: gen4ik
3 Replies

6. UNIX for Dummies Questions & Answers

Unix Performance Monitoring

In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i need to be watched on, and what value or average value should i watch inorder to determine that im experiencing a cpu bottle neck. What should be my basis. or if you use glance ... (2 Replies)
Discussion started by: kaibiganmi
2 Replies

7. UNIX for Advanced & Expert Users

MOnitoring Software for Unix servers

Guys, I need a monitoring software for my Unix servers. Over the last couple of years, the number has increased to well over 40 servers. All have different applications running on them and it is impossible to go to everyone of them and do checks. I was using Spotlight on Unix. I was... (1 Reply)
Discussion started by: jair
1 Replies

8. Linux

Linux/Unix performance monitoring

This is my first post (yes I'm a newbie).... :D I'm looking for a list of Linux and Unix commands for performance monitoring and a good sight or area on this site that would have man pages and or information on those commands..... Thanks if anyone can take the time to post..... :cool: (14 Replies)
Discussion started by: harrisjl
14 Replies

9. Solaris

Performance Monitoring

Hi all, I am planning to give a presentation on performance measure. I have decided to focus on the commands which are used to know the performance of the server. I have a idea of prstat,vmstat,netstat, and iostat. Could anybody suggest me any other commands which are used for perforamance... (7 Replies)
Discussion started by: priky
7 Replies

10. Red Hat

HELP - Resource/Performance Monitoring Script - Red Hat Enterprise Linux Server

Hi all, ------------------------- Linux OS Version/Release: ------------------------- Red Hat Enterprise Linux Server release 5.5 (Tikanga) Linux <hostname> 2.6.18-194.8.1.el5 #1 SMP Wed Jun 23 10:52:51 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I have a server that hosts 30+ Oracle... (1 Reply)
Discussion started by: newbie_01
1 Replies
CHUDREMOTECTRL(1)					      General Commands Manual						 CHUDREMOTECTRL(1)

NAME
chudRemoteCtrl - start or stop the collection of performance monitor data in a performance monitor remote server application. SYNOPSIS
chudRemoteCtrl [ -m ] [ executable [args... ] ] chudRemoteCtrl -s label chudRemoteCtrl -e chudRemoteCtrl -k PID DESCRIPTION
chudRemoteCtrl is a command line tool that allows for the collection of performance data by any active performance monitor remote server application. There are currently two CHUD Tools that can be put in remote performance monitor server mode: MONster, and Shark (as well as their command line counterparts). Typically, chudRemoteCtrl is invoked on the command line or in a shell script, followed by the path to an executable to be measured and its arguments. chudRemoteCtrl issues a chudStartRemotePerfMonitor message immediately after launching the specified target program. When the launched program terminates, chudRemoteCtrl issues a chudStopRemotePerfMonitor message, and then exits. When the '-s', '-e' or '-k PID' options are used, no program is launched. OPTIONS
-r seconds: If the 'chudStartRemotePerfMonitor' message fails to either acquire or start the remote monitoring service, then keep try- ing to start again, until the specified number of seconds has elapsed. The same thing is true of the '-e' option. If there is a '-r <seconds>' argument on the command line, and a failure occurs trying to stop the remote profiling program, the stop message will be sent again until the retry time limit is reached. -s label: Issue a chudStartRemotePerfMonitor message with the specified label and exit. A 'label' is a string of up to 32 characters. -e Issue a chudStopRemotePerfMonitor message and exit. -q silence some of the non-essential warning and error output. -kPID Send a UNIX signal (SIGUSR1 to start profiling, SIGUSR2 to stop profiling) to the specified process-id. For example, if a command- line profiling tool, is running as PID 4267, using '-k 4267' along with a '-s' will send a SIGUSR1 to the command-line profiling tool and it will start sampling, while '-k 4267' along with a '-e' will send a SIGUSR2 to the command-line profiling tool and it will stop sampling. A 'start' example: % chudRemoteCtrl -s session_42 -k 4267. And a 'stop' example: % chudRemoteCtrl -e -k 4267. The command-line CHUD tool 'shark' responds to UNIX signals and toggles performance profiling. You can repeatedly send '-s <label> -k <PID#>' to shark and it will toggle profiling start or stop. Sending '-e -k <PID#>' to shark will stop sampling (if it's run- ning) and cause shark to EXIT. -m Set the performance monitor mark bit in the main thread of the launched child process. DIAGNOSTICS
chudRemoteCtrl returns a zero (0) upon success and a non-zero value on failure. BUGS
Please send your comments, suggestions and bug reports to: perftools-feedback@group.apple.com SEE ALSO
monster(1), shark(1) CHUD
6 October 2003 CHUDREMOTECTRL(1)
All times are GMT -4. The time now is 08:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy