Kill process commande line

Posted:
in macOS edited January 2014
Hello everybody,

Can anyone tell what is the command line to use to kill a process using its name.

I'm on Mac OS X 10.4 Tiger PPC et Mac OS X 10.5 Leaopard Intel

Best regards.

Comments

  • Reply 1 of 1
    Quote:
    Originally Posted by mourad View Post


    Hello everybody,

    Can anyone tell what is the command line to use to kill a process using its name.

    I'm on Mac OS X 10.4 Tiger PPC et Mac OS X 10.5 Leaopard Intel

    Best regards.



    $top



    See the PID of your process you want killed.



    $ps -aux (also works)



    $man kill

    $man ps



    Single command to immediately kill a specific PID is:



    $kill -s 9 PID
Sign In or Register to comment.