|
|
Try the options..
I think what you're looking for is ps -x, where the "-x" option adds "information about processes without controlling terminals" to the standard output. Your GUI jobs will now be listed.
The challenge at that point is figuring out which job to terminate. Cocoa apps are easy - they're listed by name. Carbon apps are tough, as they're all "LaunchCFMApp" (hope this changes in final!). Classic is toughest of all, since the OS sees it as an application. You can't just quit one Classic app, you have to quit Classic in general.
Trial and error method to identify a carbon app
Using trial and error, and access to the GUI (so no use to the original poster) you can pause a running app with "kill -STOP process-number" and then try to use it. If the app has been paused then you'll see the spinning wheel pointer and you won't be able to interact with the app. If you picked the right process number you can "kill -KILL process-number" to zap it. If you picked the wrong process number you can resume the app with "kill -CONT process-number". |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|