Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Possible to Remotely Kill Process on LAN Workstation Using Terminal?

Is it possible to login to a separate workstation on my LAN and kill a process on that machine? If so, what are the commands? I do not have OS X Server. ARD is running on the machine I want to remote into and I want to kill it.

I can remote into a separate machine and see this one up and running in finder.

Thanks!

Ebola

Dual 2Ghz Power Mac/2 Ghz Core Duo MacBook Pro, Mac OS X (10.4.10)

Posted on Jan 11, 2010 2:26 PM

Reply
6 replies

Jan 11, 2010 6:25 PM in response to Ebola

Try

ps ax | grep -i nameofprogram

Column 1 will have the process ID

kill -HUP process_id

-HUP will signal the process that it is being requested to shutdown cleanly.

If -HUP does not work, then go for -KILL (non-catchable, non-ignorable kill)

kill -KILL process_id

Or you could try the "killall" command which accepts a process name

killall -HUP program_name
# -or-
killall -KILL program_name

Possible to Remotely Kill Process on LAN Workstation Using Terminal?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.