TECHNOLOGY
- Dokuwiki
- Miscellaneous
lsof
(list open files) command to print a list of all open files. Highly useful tool; very flexible parameters. Similar in scope to find
command, but for processes. List can be sorted/filtered as needed. Detail: ps ux | grep userID or Summary: ps ux | grep userID | wc -l
lsof | grep processId | wc -l or lsof | grep processName | wc -l
At a command prompt, type:
ulimit -n
At a command prompt, type:
ulimit -n 4096
cat /proc/sys/fs/file-max