LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-21-2006, 01:33 PM   #1
kaplan71
Member
 
Registered: Nov 2003
Posts: 718

Rep: Reputation: 39
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.
 
Old 09-21-2006, 02:40 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: 331Reputation: 331Reputation: 331Reputation: 331
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.

Last edited by stress_junkie; 09-21-2006 at 02:43 PM.
 
  


Reply

Tags
sar


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
Performance Monitoring Risc91 AIX 11 10-21-2005 10:51 AM
Suggestions for a N/w Monitoring Tool SiLiCoN Linux - Security 3 04-22-2005 05:34 AM
Performace Monitoring Tool Cybers19 Linux - Newbie 4 10-27-2004 09:47 AM
Internet Monitoring Tool sreekanthr Linux - General 1 11-17-2003 07:25 AM
bandwidth monitoring tool pulsar Linux - Networking 0 02-22-2003 04:30 PM


All times are GMT -5. The time now is 05:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration