memory used by process
Hi,
I want to know the memory used by a process (in Kb or multiples of 4kb). I tried top but it gives it %MEM and that too in a single digit precision e.g. 0.2% I need more accuracy. |
The RES column in top should be more useful than the %MEM column. It is scaled, so you get meaningful values in the low range where %MEM has 0.0.
If you want detail for a single pid, use cat /proc/pid/status and look at the VmRSS field. |
Define "memory".
Define "used". It's all downhill from here ... :p |
You can check using this command:
Code:
# pmap -x <pid> |
All times are GMT -5. The time now is 05:30 AM. |