Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I know how to get/set max values for these parameters with /proc/sys/fs/inotify/max_* files, but I want to know what is the current value...

share|improve this question

1 Answer 1

I haven't seen any indication that the kernel exposes that information. You could keep a count on the number of inotify instances and watches in your application (the c++-interface does this for you) but that'd be per process and the max_ parameters are per user.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.