Root, Qubits & Qualia
Linux how‑tos, quantum insights, and explorations into the nature of mind
Pages
(Move to ...)
Home
▼
Monday, October 30, 2017
Find out how many files are open by a specific user
lsof Command
# lsof -u account | wc -l
Displays the total number of open file handles in the specified account.
# lsof -u account | grep pid | wc -l
or
# lsof -p pid
Displays the total number of open files in the specified account name for the specified pid.
‹
›
Home
View web version