Terminal kill command

I am having a problem with an app. I am trying to kill it in terminal.

I was given a very simple explanation and example by a very experienced friend of mine. But I forgot it already.

he said "go into terminal. type in 'top' fin the process that is using all your cpu then kill it by typing........ " that is where it go fuzzy. something about there were four letters, then 'kill', then the process number (254 in this case)

Can any of you Mac experts tell me what that simple code was????????

PowerBook G4, Mac OS X (10.4.7)

Posted on Sep 18, 2006 10:27 PM

Reply
Question marked as ⚠️ Top-ranking reply

Posted on Sep 18, 2006 11:35 PM

sudo kill pid, where pid is the process number.
2 replies
Sort By: 

Sep 18, 2006 11:38 PM in response to Alex Stoney

To "kill" a process using Terminal:
- Run Terminal
- Type top, and then, press <Enter>
- From the results, the first column provides the processes' Process ID (PID) number.
- Note the PID of the process you want to kill.
- Type q, and then, press <Enter> to quit top.
- Type sudo kill PID, and then, press <Enter> where PID is the value you got from top.
Reply

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Terminal kill command

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.