Show process limits linux
Hard and soft resource limits for a running process
cat /proc/<pid>/limits
more linux
all 133 commands →
Increase system file descriptor limit
ulimit -n 1048576 && echo '* soft nofile 1048576
* hard nofile 1048576' >> /etc/security/limits.conf
Show inode usage
df -i
Find large files
find / -type f -size +100M 2>/dev/null | sort
Show open file descriptors
cat /proc/$(pgrep myapp)/fd | wc -l
Check SELinux status
getenforce