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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT CENTOS
pmdasystemtap
PMDASYSTEMTAP(1) Performance Co-Pilot PMDASYSTEMTAP(1)
NAME
pmdasystemtap - Systemtap performance metrics domain agent (PMDA)
DESCRIPTION
pmdasystemtap is a Performance Metrics Domain Agent (PMDA) which exports metric values from the Linux Systemtap dynamic tracing toolkit.
This implementation uses the stap(1) tool, which is a front-end to the Systemtap toolkit.
INSTALLATION
In order to access performance data exported by Systemtap from with PCP, it is necessary to perform two configuration steps:
1. Configure Systemtap probes, and verify them with stap(1). These should be produced in a format that is easily parsed, and then stored
in the $PCP_PMDAS_DIR/systemtap/probes.stp file.
2. Configure pmdasystemtap to extract the values from the text produced by stap. Two example probes are implemented in the default
systemtap PMDA script - readdir and sync traces (see $PCP_PMDAS_DIR/systemtap/pmdasystemtap.pl for details).
# cd $PCP_PMDAS_DIR/systemtap
# [ edit probes.stp, test /usr/bin/stap probes.stp ]
# [ edit pmdasystemtap.pl ]
Once this is setup, you can access the names and values for the systemtap performance metrics by doing the following as root:
# cd $PCP_PMDAS_DIR/systemtap
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/systemtap
# ./Remove
pmdasystemtap is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent
is installed or removed.
FILES
$PCP_PMDAS_DIR/systemtap/probes.stp
probe configuration file for stap(1), run by pmdasystemtap
$PCP_PMDAS_DIR/systemtap/Install
installation script for the pmdasystemtap agent
$PCP_PMDAS_DIR/systemtap/Remove
undo installation script for the pmdasystemtap agent
$PCP_LOG_DIR/pmcd/systemtap.log
default log file for error messages from pmdasystemtap
SEE ALSO
pmcd(1) and stap(1).
3.8.10 Performance Co-Pilot PMDASYSTEMTAP(1)