LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Performance Monitoring Tool (https://www.linuxquestions.org/questions/linux-software-2/performance-monitoring-tool-485713/)

kaplan71 09-21-2006 01:33 PM

Performance Monitoring Tool
 
Hi there --

We are running Fedora Core 2 workstations and are in need of a performance monitoring tool that checks the various aspects of system operation. There are two software titles that I am aware of: NMON and CPSM.

Does anyone have a recommendation as to either of the above titles or perhaps some other software they would recommend? Thanks.

stress_junkie 09-21-2006 02:40 PM

You have probably already got sar on your computers. It comes with the sysstats package. You just have to set it up. This is what I did on OpenSuSE to get it working.
First I found a file called /etc/sysstat/sysstat.cron. It looks like this.
Code:

#crontab for sysstat

#activity reports every 10 minutes everyday
-*/10 *  * * *    root  /usr/lib/sa/sa1

#update reports every 6 hours
0    */6 * * *    root  /usr/lib/sa/sa2 -A

Then I just created a link to this file in the /etc/cron.d directory.
Code:

root> cd /etc/cron.d
root> ln -s /etc/sysstat/sysstat.cron sysstat

This creates reports in the /var/log/sa directory. Then you use the sar command to read the files.
Code:

root> ls /var/log/sa
sa.2006_09_20

root> sar -R -f /var/log/sa/sa.2006_09_20
Linux 2.6.16.21-0.21-default (myhostname)    09/20/06

00:00:31      frmpg/s  bufpg/s  campg/s
00:10:01        51.42      0.53      2.28
00:20:01        2.46      0.00      0.06
00:30:01        -1.42      0.00      0.02
00:40:01        -0.12      0.00      0.00
00:50:01        -0.22      0.00      0.00
01:00:01        -0.51      0.00      0.02
...

You can find out all kinds of system performance metrics by using different options to the sar command. Check out the man page for sar.

If you for some reason (managers) you want to purchase something really expensive then BMC Patrol is very good.


All times are GMT -5. The time now is 10:49 AM.