Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server performing multiple tasks over traffic coming to it.
Lately the server has been stuttering. When the system chokes, it reboots - this leaves me with little meaningful information as for the pathology of the choke (this is definitely not a violent crash).
What tool in your experience assisted you in preserving meaningful data regarding a system choke.

This could be memory consumption, "ps", "top" or any other parameter.
Mind you, a script that simply outputs several lengthy commands (ps -a) every so and so - can use massive storage, and be hard to analyse.

share|improve this question

closed as off-topic by Falcon Momot, Jenny D, cole, MadHatter, Ward Nov 20 '13 at 14:52

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – Falcon Momot, Jenny D, cole, MadHatter, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

Install SAR, it provides snapshot of data every 10 minutes by default, but you can change the rate of infomation using the cron job.

It will provide lots of useful data, such as memory, load cpu usage and disk I/O stats.

share|improve this answer

you need historical analysis of most common parameters of the system, i would recommend MUNIN, which provides graphing of most common system resources through web, which you can constantly monitor to see Which process/Which service chokes the resources and Which resource.

After that i would recommend to tail -f the system log files, that what causes this problem.

share|improve this answer

Sometimes I feel SAR to be little inadequate. I have come across instances where you need a complete picture of what is going in your system. Commands like top, ps, vmstat, netstat, iostat, iotop comes handy then. Generally I log outputs these commands into a file. Now if space is a constrain for you, there is a service called SeaLion which execute all above commands and stores it into cloud. You can access these data from you browser. enter image description here

Also I would like to mention other services like Nagios, Munin, New Relic, Server density which also collects stats from your machine, that might come handy while debugging a problem.

share|improve this answer

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