this post was submitted on 17 Feb 2024
280 points (100.0% liked)

196

16484 readers
2584 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SoonaPaana@lemmy.world 5 points 8 months ago (5 children)

Also please refresh my memory on how to find the process ID

[–] I_like_cats@lemmy.one 11 points 8 months ago

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

[–] assaultpotato@sh.itjust.works 5 points 8 months ago

I use ps -aux | grep $EXECUTABLE

htop or any process monitor will tell you.

[–] Krzd@lemmy.world 1 points 8 months ago

top for Ubuntu at least will show you the top processes, I think sorted by averaged CPU usage.