c - Checking for memory usage changes in /proc/pid/statm -


i know /proc pseudo filesystem makes impossible use inotify api.

some parts of /proc can monitored select/poll api (like /proc/mounts). i'm wondering possible monitor /proc/pid/statm in way?

since data found in /proc/pid/statm generated kernel on fly guess select/poll wouldn't work. there other solution available me accomplish want, except reading /proc/pid/statm periodically?


Comments

Popular posts from this blog

javascript - Complete OpenIDConnect auth when requesting via Ajax -

c# - Replace text in MailItem Body -

java - Get more than One value and display it -