How To Get a Count of Open Files by User on MacOSX
erics, Posted June 18th, 2015 at 5:54:15pm
1 |
sudo lsof | awk '{print $3}' | sort | uniq -c | sort -n -r | head -20 |
13137 erics
2421 root
330 _www
139 _mdnsresponder
56 _softwareupdate
34 _coreaudiod
33 _mysql
32 _networkd
23 _assetcache
21 _usbmuxd
21 _locationd
18 _spotlight
13 _nsurlsessiond
13 _netbios
13 _appleevents
10 _windowserver
10 _iconservices
10 _displaypolicyd
8 _nsurlstoraged
8 _distnote
Leave Your Comment
All fields marked with "*" are required.