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