how to prevent process from being killed?
is there an easy and effective way?
Regards |
hi
are u doing this in a program(to prevent that program from being killed) or another general proces?? regards |
hi masand,
to prevent another process. |
I have to implement a program A that can prevent process B from being killed.
And I can kill B with A by passing A some command... Both A and B are background application. I don't know how to do it. Regards. |
hi there
why don't u try masking the signals ignore SIGHUP signal etc i am not so much in to programming, but i think it can be done that way have a look at man signal regards |
thanks
|
A superuser (root) can kill any process as far as I know. Not like Windows where some processes are somehow more important then me.
|
Also, it's not possible to ignore SIGKILL, so I'm not sure that this is possible.
Dave |
All times are GMT -5. The time now is 03:36 PM. |