Finding out what a program is doing on Linux often means remembering several
With
Project:
https://github.com/leahneukirchen/px
#ThursdayTips #Linux #Unix #CLI #OpenSource
ps options and piping the result through grep.With
px, it can be as simple as:./px -t cwmThe
PID USER %CPU VSZ RSS START ELAPSED CPUTIME COMMAND
15077 r1w1s1 0.0 64M 9.1M 10:16 5h33m 0:00 /usr/bin/cwm
-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 firefoxSmall, direct, and very useful for everyday terminal work.
px -f "python app"
px 11690
px -t firefox
Project:
https://github.com/leahneukirchen/px
#ThursdayTips #Linux #Unix #CLI #OpenSource
Edited 55d ago