Answer the question
In order to leave comments, you need to log in
Prog on ubuntu to monitor peak memory loads?
There is: Ubuntu Lucid Lynx 32, apache, mysql and periodically popping out of all holes out of memory (and this is on the cloud, where, in general, this should not be), which I learn about after the fact from Apache and muscle logs.
Objective: To trace what kind of infection eats up memory so hard.
The question is, how can this be done?
Answer the question
In order to leave comments, you need to log in
Well, then you need to install a monitoring tool, with scheduling, for example, I use Zabbix in the infrastructure - it can warn by mail or by Jabber / SMS what is wrong. True, you will also have to spend time studying it. And bursts can be done simply: a
script like:
#!/bin/bash
{
date
ps uax
echo
} >> /var/log/memory.log
And put in kroner for every minute, for example. A lot of logs will be generated. But it will allow you to make an analysis - who, how much and when ate and what resources.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question