How many file descriptors are opened per user currently?
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
Issue
- How do I determine the number of file descriptors open per user currently?
Resolution
- The following command should provide the number of file descriptors that are open for the specified user
# lsof -u <user> | sort -u | wc -l #--for a count
# lsof -u <user> | sort -u #--to view
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
