Actively detect PSS support
Rather than checking the kernel version, look for PSS field when parsing smaps data and issue a warning. (based on a suggestion by Paul Townsend)
This commit is contained in:
parent
4cb161ea45
commit
0279ad465a
2 changed files with 12 additions and 9 deletions
3
smem.8
3
smem.8
|
|
@ -144,7 +144,8 @@ Show pie graph.
|
|||
\fBsmem\fP requires:
|
||||
|
||||
.IP \(bu 3
|
||||
Linux kernel 2.6.27 or newer.
|
||||
Linux kernel providing 'Pss' metric in /proc/<pid>/smaps (generally
|
||||
2.6.27 or newer).
|
||||
.IP \(bu
|
||||
Python 2.x (at least 2.4 or so).
|
||||
.IP \(bu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue