Democratic Underground Latest Greatest Lobby Journals Search Options Help Login
Google

How to kill using the command line.

Printer-friendly format Printer-friendly format
Printer-friendly format Email this thread to a friend
Printer-friendly format Bookmark this thread
Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU
 
alfredo Donating Member (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.
Refresh | 0 Recommendations Printer Friendly | Permalink | Reply | Top

Home » Discuss » DU Groups » Computers & Internet » Macintosh Users Group Donate to DU

Powered by DCForum+ Version 1.1 Copyright 1997-2002 DCScripts.com
Software has been extensively modified by the DU administrators


Important Notices: By participating on this discussion board, visitors agree to abide by the rules outlined on our Rules page. Messages posted on the Democratic Underground Discussion Forums are the opinions of the individuals who post them, and do not necessarily represent the opinions of Democratic Underground, LLC.

Home  |  Discussion Forums  |  Journals |  Store  |  Donate

About DU  |  Contact Us  |  Privacy Policy

Got a message for Democratic Underground? Click here to send us a message.

© 2001 - 2011 Democratic Underground, LLC