How to kill a process

Hi all,

I need to kill a very peculiar running process. The kill command doesn't work. I've tried:

kill -KILL <pid>
kill -9 <pid>
sudo kill -KILL <pid>
sudo kill -9 <pid>


and none of those worked!
every time I do a

ps -p <pid>


I see the process listed as:

PID TT STAT TIME COMMAND
542 p1 SX 0:00.01 ./att2


This process is peculiar because its parent is init (pid=1) and it is being debuged by init.
Any suggestions how I could kill/remove this process?

Thanks,

Antonello

Mac OS X (10.3.9)

Posted on Sep 16, 2006 9:26 AM

Reply
16 replies

Sep 22, 2006 9:04 PM in response to Karl Zimmerman

Hi Karl,
Thanks for another excellent explanation. It pretty much fits my guess for what it is, but with more detail. Just the right amount of detail I might add. The only compiled language with which I have much experience is Java, so I've never been exposed to low level details. As Monk would say, it's a blessing and a curse.

Hi Andy,
That is a little over my head but I always preferred swimming in the deep end. So lower priority means that fewer of the possible wake up signals have an effect on the sleeping process.
--
Gary
~~~~
Nothing is so firmly believed as that which we least know.
-- Michel de Montaigne

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to kill a process

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