Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, My manager has asked me to look at memory drop on system while I was doing test on Linux machine. there is a big dip in memory graph produced ...
  1. #1
    Just Joined!
    Join Date
    Dec 2010
    Posts
    14

    Memory Usage history for last week

    Hi,

    My manager has asked me to look at memory drop on system while I was doing test on Linux machine. there is a big dip in memory graph produced by another tool. I do not know which processes were responsible for those memory dips. Is there any way I can find memory utilization of process during last week?

    Many thanks in Advance

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    Very unlikely, unless you already set something up to do that (cron, daemon, etc.). You can peek in /var/log/messages for any possible incidents that occured in the time frame you're interested in that might indicate a memory issue, but don't hold your breath.

    You can cobble together a quick memory usage test that you can cron, though. Making a cronjob of something like "top -n1 -c -b >> /tmp/memusage.log" would be a start.

    Also check out htop, which allows you to sort by mem from the cmd line (which would be good for a cronjob, vs interactive), e.g.: "htop --sort-key PERCENT_MEM"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...