Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there some performace monitoring tool which would run in background gathering info about all system activity? Somethimes my system (Arch linux, 32 bit) slows down terribly and the top utility doesn't show anything.

I imagine some daemon which would gather info and log it, so when the slowdown pass away I would be able to find what was the problem.

share|improve this question
add comment

5 Answers

up vote 4 down vote accepted

How about sar?

share|improve this answer
    
The tutorial I used: sebastien.godard.pagesperso-orange.fr/tutorial.html –  Dadam Sep 12 '11 at 19:47
add comment

The slowdown might not have been caused by CPUs being utilized. Check iotop for IO utilization.

share|improve this answer
    
I suppose so. The problem is that often the top starts after the slowdown passes away (it is that bad), I suppose the iotop will have the same problem. But thanks anyway, I will certainly try it. –  Dadam Mar 30 '11 at 12:05
add comment

There are a lot of them. If you want it to be basic and command-line, take a loot to sar. Or you could use some monitoring tool with nice web ui. Personally I prefer zabbix, there are also monitorix (very simple to setup), nagios, zenoss and many others.

Monitorix is probably what you want on this point.

share|improve this answer
add comment

Consider installing munin. It will monitor a wide variety of data and provide graphical output. This is better for monitoring trends.

You may also want to consider run sar in the background. It can identify a number of issues including CPU, I/O, swap, and other issues. If you are experiencing problems, this may be your best for your current situation.

share|improve this answer
add comment

There are a number of open source solutions like those mentioned above (munin, zabbix, nagios, OpenTSDB). There are also commercial solutions like Metrink, DataDog, and New Relic. You'll really want to find something that can monitor more than just CPU and disk, as the problem can be in any number of places.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.