Score:0

How to search the highter CPU process between dates

gb flag

Is possible to search which process has been the major or highter process between dates? For instance: I need to search whats process has been the highter one the last month on my system. Thanks

CrazyTux avatar
us flag
Maybe this question could help you out: https://serverfault.com/questions/122697/check-history-of-cpu-memory-usage-in-ubuntu
Cesar Gavidia avatar
gb flag
Hi, thanks for your great advise, I've been able to find the historical events from CPU in my case that is most impportantly thing and the sar command is now my prefered =) so now I need to know which process or processes have been the ones that triggered the high CPU consumption, I need help with that now, thanks a lot.
Score:0
gb flag

Well, in the end I've found the real problem by using this command (previously I've used a lot of combinations):

sar -u -f /var/log/sa/sa23 -s 05:00:00 -e 23:59:00 -d

As per the output of this command-line the problem was a outstanding I/O request.

Thanks.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.