1

I would like to get a process's memory usage and it seems that pmap can do that. However, the value it returns is different from what I see in top command.

# pmap 22080 | grep total
total          6588952K
# top | grep 22080
22080 ghatee    20   0 6588948 5.873g  11936 R 100.0  9.4   1120:17 pw.x       

What is the reason?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.