this post was submitted on 17 Feb 2024
280 points (100.0% liked)
196
16450 readers
2058 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Also please refresh my memory on how to find the process ID
You can do
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