My system is CentOS.
I'm trying to get this by listing
fs.inotify variables via
sysctl call (
sysctl fs.inotify), but didn't found anything useful, only variables to specify limits.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
lsof | grep inotify | wc -l
lsof prints special line for each inotify watch allocation.
See How do I find out what inotify watches have been registered? for details.