bash-hacks
latest
archive
categories
about
◐
light
☰
latest
archive
categories
about
◐
light
category 05 / 10
Processes & jobs
Ports, PIDs, background jobs, and stopping things cleanly.
002
entries
4 min
avg read
all 002
debugging 002
ps 001
memory 001
rss 001
lsof 001
ports 001
021
Find the process that is quietly eating your memory
ps -eo pid,ppid,rss,etimes,pcpu,comm --sort=-rss | head -11
2026-09-14
4 min
005
Find out which process is sitting on port 8080
lsof -nP -iTCP:8080 -sTCP:LISTEN
2026-08-20
3 min
showing 002 of 002