Count open file descriptors system-wide
Allocated FDs, free FDs, and system-wide max (file-max)
cat /proc/sys/fs/file-nr
- tool
- linux133 commands
More linux commands
-
iostat -xz 2 5Extended disk IO stats every 2s, 5 iterations; look for %iowait, await
-
vmstat 1 5System-wide CPU, memory, swap, IO stats per second
-
iotop -aoAccumulated disk read/write per process (requires root)
-
sar -u -r -d 1 5CPU, memory, and disk stats via sysstat (5 samples, 1s interval)
-
strace -f -e trace=network,file -p <pid>Trace network and file syscalls of a running process