English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How exactly can I get the amount of memory a process is taking. If I use the command "top", is this what is under neat the VIRT column?
10ks

2007-11-07 10:10:18 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

Top is the command you want to use. It will show you the process ID, User ID along with other info including memory. The SIZE shows the total memory of the process and the RES will tell you how much resident memory is being used.

2007-11-07 10:22:55 · answer #1 · answered by advnturer 6 · 0 0

Yes, virt is the all-inclusive number, but it's a little misleading. The reason it's misleading is that the process loads a number of shared libraries.

Shared libraries are chunks of code that multiple applications can use at any given time. So the KDE shared libraries might be 20 megs, but they'll show up as 20 megs in each process that uses them, inflating the memory footprint of those applications.

2007-11-07 15:27:59 · answer #2 · answered by STFU Dude 6 · 1 0

fedest.com, questions and answers