lilydjwg / swapview-rosetta

Print swap usage per process. Implemented in various programming languages
491 stars 108 forks source link

Fix /proc/*/smaps string searches for compatibility with newer kernels #110

Closed tristanheaven closed 8 years ago

tristanheaven commented 8 years ago

Match "Swap:" lines but not "SwapPss:".

See torvalds/linux@8334b96221ff0dcbde4873d31eb4d84774ed8ed4

lilydjwg commented 8 years ago

Thanks!