Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2681

Beginners Questions • Re: Sleuthing CPU/load/memory increases

$
0
0
I think the first thing you'd need is a baseline from a clean boot. My suggestion:

Reboot the machine, give it like five minutes to settle down and then dump top's output to a text file like this:

Code:

top -o %MEM > ~/top.txt
This will sort applications by RAM use and stick the result in your home directory.

Then give it a couple days or more, close all applications your user opened and dump again to a different text file:

Code:

top -o %MEM > ~/top2.txt
Compare the two text files and it should tell you which application(s) may be leaking.

Dumping top to a text file is mostly human-readable and is more accurate than using ps. ps will tell you how much RAM your app *could* use, top will tell you how much your application *is* using.

Statistics: Posted by wizard10000 — 2024-02-20 15:09



Viewing all articles
Browse latest Browse all 2681

Trending Articles