Linux - lsof that only for those file handlers that count for the limit

 This is from https://access.redhat.com/solutions/1210583

which I think it is helpful.

lsof -a -p 20818 -d ^mem -d ^cwd -d ^rtd -d ^txt -d ^DEL | wc -l


will only count for those file handles that use file limit

Comments

Popular Posts