@[email protected] to [email protected] • 1 year agorulelemmy.mlimagemessage-square41fedilinkarrow-up1271arrow-down11
arrow-up1270arrow-down1imagerulelemmy.ml@[email protected] to [email protected] • 1 year agomessage-square41fedilink
minus-square@[email protected]linkfedilink11•1 year agoYou can do ps aux | grep -i and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop
minus-squareRefurbished Refurbisherlinkfedilink2•1 year agohtop or any process monitor will tell you.
minus-squareKrzdlink1•1 year agotop for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.
Also please refresh my memory on how to find the process ID
You can do
ps aux | grep -i
and the PID is in the second column of the output. However for this use case I recommend a process manager like htop or btop
I use
ps -aux | grep $EXECUTABLE
htop or any process monitor will tell you.
top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.