How do I see open limits in Linux?

Huỳnh Hiền

New member
How do I see open limits in Linux?
Answer
Why is number of open files limited in Linux?
  1. find open files limit per process: ulimit -n.
  2. count all opened files by all processes: lsof | wc -l.
  3. get maximum allowed number of open files: cat /proc/sys/fs/file-max.
 

Tìm kiếm

Back
Top