Kill process command line

Jump to First Reply
Posted:
in Mac Software edited January 2014
Hello everyone, can anyone tell me what batch command I must use to kill a process.

I'm on Mac OS X 10.4 Tiger PPC and Mac OS X 10.5 Leopard.

Comments

  • Reply 1 of 1
    Marvinmarvin Posts: 15,573moderator
    Quote:
    Originally Posted by mourad View Post


    Hello everyone, can anyone tell me what batch command I must use to kill a process.

    I'm on Mac OS X 10.4 Tiger PPC and Mac OS X 10.5 Leopard.



    You're going to kick yourself when you find out it's the command called 'kill'.



    You get the process id (pid) for the process you want (you can find this in the Activity Monitor) and just type:



    kill 47



    if the pid is 47. You can kill a process from the Activity Monitor too btw. If it's a command running in the terminal you want to kill, you can hit ctrl-c.



    If you need to force-quit something, you can use kill -9 47
     0Likes 0Dislikes 0Informatives
Sign In or Register to comment.