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.
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.