On Feb 13, 2007, at 10:32 AM, Theresa Bright wrote:
Hey,
I have five computer labs using ARD 2.2.....
How can they quit applications without shutting down or logging
students off?
The 'killall" command only seems to work for Safari but not for
other apps like Word, Excel, or any other software.
Any Ideas...............?
There's an interesting limitation I've discovered about the kill
command. When you use "killall" based on the name of an application,
it seems to look around the process list based on a certain size of
window.
For example, send "ps aux" as a UNIX command to a machine; it usually
cuts off the full list of results. For whatever reason, if you don't
include the -a argument to "ps", the Office products tend not to show
up in the process list. Just doing "ps x" on a machine running Word
will not show Microsoft Word in the list. A way around this is to use
"ps auxc" to get a list of all applications that are running, but not
the full paths. This'll give you the end result you need.
In other words, on a machine running the software you want to kill,
i.e. Microsoft Word, run this:
ps auxc | grep "Microsoft"
Once you have the PID # of the process you want, just use "kill -9
<pid>" (without the quotes, obviously).
--
Nick McSpadden
Schools of the Sacred Heart
Technology Network Assistant
------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Remote-desktop mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/remote-desktop/email@hidden
This email sent to email@hidden