Count the entries in /proc/<pid>/fd/
. The hard and soft limits applying to the process can be found in /proc/<pid>/limits
.
More Related Contents:
- How do I write a bash script to restart a process if it dies?
- How do I prompt for Yes/No/Cancel input in a Linux shell script?
- How does “cat
- Expanding a bash array only gives the first element
- How do I know the script file name in a Bash script?
- Why do you need to put #!/bin/bash at the beginning of a script file?
- Raise error in a Bash script
- What happens if there is no exit system call in an assembly program?
- How to remove ^[, and all of the escape sequences in a file using linux shell scripting
- Find multiple files and rename them in Linux
- Maximum number of processes in linux [closed]
- Bash script: bad interpreter
- Separately redirecting and recombining stderr/stdout without losing ordering
- Difference between ${} and $() in Bash [duplicate]
- What does `set -x` do?
- Shell/Bash shortcut for bulk renaming of files in a folder
- How is the system call in Linux implemented?
- how to get MouseMove and MouseClick in bash?
- How can I run a function from a script in command line?
- extracting unique values between 2 sets/files
- Bash Script – iterating over output of find
- Programmatically get parent pid of another process?
- How to run a script at a certain time on Linux? [closed]
- How do I get cURL to not show the progress bar?
- How do I remove newlines from a text file?
- How do I script a “yes” response for installing programs?
- init function invocation of drivers compiled into kernel
- DNS caching in Linux [closed]
- How to convert hex to ASCII characters in the Linux shell?
- How to discover what Linux distribution is in use