Hi LQ folks,
I'd like to know a single line command to count the number of opened files by a specific user.
It is ok to pipe the command output to wc -l.
Well, i tried to do it:
sudo -u oracle lsof|wc -l
please let me know..will this work(as i need to know the open file count of oracle)?
Please gimme some info. if needed .. i'm confused between no. of opened files & file descriptors.