alfredo
(1000+ posts)
Send PM |
Profile |
Ignore
|
Thu Jun-02-05 04:46 PM
Original message |
| How to kill using the command line. |
|
Let's say you want to throw something in the trash and it is open and there is no way to turn it off. I ran across this problem with Sticky Brain. The StickyBrainService.app is that little flashlight on the menu bar. If you have Sticky Brain 3 you know what it is. I had thrown all other remaining parts of Sticky Brain 3 in the trash but this one irritating piece remained.
Here's how I turned it off using the terminal app in the /Applications/Utilities folder. Open the terminal and type "top" in the terminal. Hit return. You will see a list of running processes. The first row of numbers are the PID. (Process ID) Find the number that corresponds to the app you want to kill. Hit Q to quit Top.
Let's say the PID number is 177. Type the command kill then the PID number. It will look like this: kill 177. If it refuses, you might have to type the command like so: sudo kill 177. It will ask for your password before executing the command. Make sure you have the right PID. You don't want any collateral damage.
This works on other apps that fail to respond.
If you guys have other command line or other tips, pass them on.
|