LinuxMind trick — the one you will actually use today. Something is eating your CPU and you do not know what. So you type ps aux | grep something, squint at a wall of fixed-width columns, and give up. There is a process viewer that colours the important columns, lets you search by name, and draws a process tree when you need one. It is called procs, and it is the ps you wish you had.
Meet procs
procs is a modern replacement for ps, written in Rust. It keeps everything useful about the classic command and fixes the parts that hurt: the output is colourised, the sizes are human-readable, and the default columns are the ones you actually look at — user, PID, CPU, memory, and the full command line, not a truncated one.
Where ps aux makes you pipe through grep to find anything, procs takes a search term as its argument and highlights the match. Where ps prints a flat list, procs --tree shows you what spawned what, which is how you find the real culprit behind a fork bomb of workers.
Install it
# Debian 13+ / Ubuntu 24.04+
sudo apt install procs
# Fedora
sudo dnf install procs
# Arch / CachyOS
sudo pacman -S procs
# Any distro, as a fallback
sudo snap install procs
On distributions where it is not in the default repositories yet, the snap is a clean fallback that needs nothing else. There is no daemon and no configuration file: procs is a single binary that reads the same kernel data ps does.
The three commands you will run first
procs # the full process list, coloured
procs firefox # only processes matching "firefox"
procs --tree # a process tree, parent above child
That first command alone replaces ps aux | less. The second replaces ps aux | grep firefox | grep -v grep — and it is case-insensitive by default, so you do not have to remember how the program spelled itself.
Sort by what you care about
procs --sortd cpu # sort by CPU, biggest first
procs --sortd mem # sort by memory, biggest first
procs --watch # refresh in real time, like a live monitor
--sortd sorts descending, which is almost always what you want when hunting a hog. And --watch turns procs into a lightweight live monitor — not a full dashboard like btop, but enough to watch a process settle down after you restart it.
See the whole story
procs --tree --sortd mem # tree view, heaviest branch first
procs --and python node # only processes matching both terms
procs -w 120 # widen the command column before it truncates
--tree --sortd mem is the combination that solves the real question: not “which process is using memory” but “which of my tool’s twenty worker processes is the one that ballooned”. The -w flag stops procs cutting off a long command line, so you can tell a build job from the shell that launched it.
Today’s move
Replace the next ps aux | grep you were about to type with procs <name>, and when something looks suspicious, add --tree. That is the whole trick: the same information ps gives you, sorted, coloured and searchable, so you spend your time reading the answer instead of writing the pipe. Keep ps for the scripts that parse it, and let procs be what you type by hand.





Leave a Reply