In Mac OS X, how can I get an accurate count of file descriptor usage?
I came across the need for identifying this recently – the command I used to count up the total entries (so more than just file handles, but it’s relative so therefore relevant in my opinion) is: lsof | awk ‘{print $1}’ | sort | uniq -c | sort -rn | head This gives something like … Read more