Can I get the information stored in /proc
via system calls instead of processing text from files?
I am trying to list inotify watches which are preventing the unmount of a filesystem.
Ive written part of a shell script, but it's already too slow. I'm thinking of rewriting in Perl.
Is there a way to get the /proc
information from system calls for a further speed up?