Open desc. count by app and faster method to discover used count than lsof?
Hello,
i am wondering how to quickly discover currently used desc. more quickly than using lsof which is too slow. cat /proc/sys/fs/file-max ...quintillion high number here... ulimit -Sn 1024 ulimit -Hn 90000 grep nofile /etc/security/limits.conf # - nofile - max number of 0pen file descript0rs * hard nofile 900000 $ cat /proc/sys/fs/file-nr 36480 0 quintillion_high_value_here $ sudo ls -l /proc/*/fd|sort -h|grep -v total|wc -l 18970 lsof|wc -l 1591966 and correct location to modify the limit is likely that limits.conf file on Arch? and btw any clever command or script to output top descript0r usage apps with the count of desc. used by these? I have found only this one. Thank you |
I doubt seriously that you will find a faster method than lsof.
Also, please surround any terminal output with "code" tags which become available when you click the "Advanced" button beneath the compose/edit post window. It makes terminal output much easier to read. |
Quote:
Quote:
https://wiki.archlinux.org/title/Limits.conf Quote:
|
All times are GMT -5. The time now is 10:24 AM. |