Open Files

Open Files

Ever wondered how many open files which process has running solaris?

root@server# ls -d /proc/*/fd/* | sed  -e's|/proc/|open files for PID: |'  -e's|/fd.*$||' | uniq -c | sort -n