Check open-file or resource limits.
Section: Non-interactive companions
Inspect limits for a process
bash
bash
sed -n '1,120p' /proc/12345/limitsExplanation
Helpful when file descriptor exhaustion or other per-process limits are suspected.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Non-interactive companions
Read detailed status from /proc
Inspect one process beyond what htop shows.
Capture a batch snapshot with top
Use top when you need non-interactive output.
Correlate a PID with journal logs
Inspect logs for a systemd service around an incident.
Inspect open files for a PID
Use shell output when you need to save or grep the results.