Sort the output by "rss" when no "Pss" present in smaps.
This commit is contained in:
parent
b720424113
commit
ec190f2c00
1 changed files with 2 additions and 0 deletions
2
smem
2
smem
|
|
@ -159,6 +159,8 @@ def pidmaps(pid):
|
|||
if not seen and not warned:
|
||||
sys.stderr.write('warning: kernel does not appear to support PSS measurement\n')
|
||||
warned = True
|
||||
if not options.sort:
|
||||
options.sort = 'rss'
|
||||
|
||||
if options.mapfilter:
|
||||
f = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue