How to identify stalled/stuck applications from Terminal?
I've had a few cases recently where "sudo reboot" didn't in fact reboot the machine, and I was still able to log back into the same machine remotely. As these were distant/remote machines, and I do tech support, I'd love to save myself a trip to their office a few miles away.
Going to the Apple menu > Force Quit, shows me in red type "stuck" applications, or "application not responding" and I'm able to then force quit them. But that's if you're logged in.
However, in Terminal, I don't know of a way to identify the application and/or daemon, or Launchd program causing the problem. If I did, presumably "sudo kill" could then be used to kill the item in question...
Any ideas/suggestions?
Thanks, Lurch
iMac, Mac OS X (10.6.2)