0

Tip #259   Ghetto lsof when you don

You might want to get rid of the awk, sort, uniq and grep depending on how much info you need.

for dir in $(find /proc -maxdepth 1 -type d -name "*[0-9]");do ls -l $dir/fd/ | awk '{print $11}';done | sort | uniq | grep "^/var/"