All your processes can be found under /proc and you can also get the number of open files from there. Or use lsof
For Unix :
# ps -aef | grep {process-name} ; pfiles {PID}
For Linux :
#ps -C {program-name} -o pid= ; ls -l /proc/{PID}/fd
Or simplyuse
#lsof -p
No comments:
Post a Comment