posted 13 years ago
for example
I want to watch a process memory info which pid is 5745.
So I typed the command:
top -p 5745
And top show that the process RES is 700m, VIRT is 848m
now I view the /proc/5745/statm, the file content is :
217088 179228 2251 59 0 207252 0
I want to know whether or not the column 2 of file statm is the process 5745 RES. why the two values have so big difference?
Thanks for any reply.