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

196

16710 readers
2725 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 11 points 10 months ago

You can do

ps aux | grep -i 

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