display the number of file descriptors

display the number of file descriptors


lsof | grep wc -l


or

ls /proc/*/fd/ | less | sed '/\//d' | sed '/^[[:space:]]*$/d' | less | wc -l

Содержание