0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 10 months agorulelemmy.mlimagemessage-square43fedilinkarrow-up1267arrow-down10
arrow-up1267arrow-down1imagerulelemmy.ml0x2d@lemmy.ml to 196@lemmy.blahaj.zone · 10 months agomessage-square43fedilink
minus-squareSoonaPaana@lemmy.worldlinkfedilinkarrow-up5·10 months agoAlso please refresh my memory on how to find the process ID
minus-squareI_like_cats@lemmy.onelinkfedilinkarrow-up11·10 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·10 months agoI use ps -aux | grep $EXECUTABLE
minus-squareRefurbished Refurbisher@lemmy.sdf.orglinkfedilinkarrow-up2·10 months agohtop or any process monitor will tell you.
minus-squareKrzd@lemmy.worldlinkfedilinkarrow-up1·10 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.