0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 9 months agorulelemmy.mlimagemessage-square44fedilinkarrow-up1280arrow-down10
arrow-up1280arrow-down1imagerulelemmy.ml0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 9 months agomessage-square44fedilink
minus-squareSoonaPaana@lemmy.worldlinkfedilinkarrow-up5·9 months agoAlso please refresh my memory on how to find the process ID
minus-squareI_like_cats@lemmy.onelinkfedilinkarrow-up11·9 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-squareassaultpotato@sh.itjust.workslinkfedilinkarrow-up5·9 months agoI use ps -aux | grep $EXECUTABLE
minus-squareRefurbished Refurbisher@lemmy.sdf.orglinkfedilinkarrow-up2·9 months agohtop or any process monitor will tell you.
minus-squareKrzd@lemmy.worldlinkfedilinkarrow-up1·9 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.
top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.
Pidof