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?
Asked by mahmood
(1271 rep)
Apr 23, 2019, 09:42 AM
Last activity: Oct 15, 2022, 05:28 PM
Last activity: Oct 15, 2022, 05:28 PM