@0x2d@lemmy.ml to 196@lemmy.blahaj.zone • 5 months agorulelemmy.mlimagemessage-square44fedilinkarrow-up1280arrow-down10
arrow-up1280arrow-down1imagerulelemmy.ml@0x2d@lemmy.ml to 196@lemmy.blahaj.zone • 5 months agomessage-square44fedilink
minus-square@SoonaPaana@lemmy.worldlinkfedilink5•5 months agoAlso please refresh my memory on how to find the process ID
minus-square@I_like_cats@lemmy.onelinkfedilink11•5 months agoYou can do ps aux | grep -i <part of process name> 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•5 months agohtop or any process monitor will tell you.
minus-squareKrzdlinkfedilink1•5 months 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 <part of process name>
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.
Pidof
top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.