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

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -