category 05 / 10
Processes & jobs
Ports, PIDs, background jobs, and stopping things cleanly.
004
entries
4 min
avg read
048Find out whether a slow command is working or waitingtime du -sh /usr041Check whether a process is still alive without sending it anythingkill -0 4721 && echo alive || echo gone021Find the process that is quietly eating your memoryps -eo pid,ppid,rss,etimes,pcpu,comm --sort=-rss | head -11005Find out which process is sitting on port 8080lsof -nP -iTCP:8080 -sTCP:LISTEN
showing 004 of 004