Join Nostr
2026-08-06 18:51:33 UTC

r1w1s1 on Nostr: Finding out what a program is doing on Linux often means remembering several ps ...

Finding out what a program is doing on Linux often means remembering several ps options and piping the result through grep.

With px, it can be as simple as:

./px -t cwm

PID USER %CPU VSZ RSS START ELAPSED CPUTIME COMMAND
15077 r1w1s1 0.0 64M 9.1M 10:16 5h33m 0:00 /usr/bin/cwm
The -t option displays threads as well, making it easy to see which one is using CPU and how long the process has been running.

px does not try to replace ps, top, or htop. It focuses on one common daily task: finding a process quickly and getting useful information without memorizing complex options or using grep.

px firefox
px -f "python app"
px 11690
px -t firefox
Small, direct, and very useful for everyday terminal work.

Project:
https://github.com/leahneukirchen/px

#ThursdayTips #Linux #Unix #CLI #OpenSource