• I_like_cats@lemmy.one
    link
    fedilink
    arrow-up
    11
    ·
    5 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