killproc -term

Hi,

I am trying the function killproc -term and it seems to be doing something extra that kill <pid> doesn't do. My daemon cleanly terminates using kill, but not using killproc.

I tried strace on killproc and then killproc works well. I read online that strace ignores SIGSTOP. does that mean killproc -term is sending some silent SIGSTOP that is not letting the daemon cleanly terminate (i.e. the behavior is different from calling kill).

I would really appreciate your help.

My system doesn't have this 'killproc'. What is your system? What is your shell?

It is a Linux machine. Bourne shell

I've never heard of killproc before, but if this is what you're referring to (1st google result for me), 8:killproc - Linux Man Pages Manual Documentation for Linux / Solaris / UNIX / BSD, then perhaps your daemon isn't cleaning up after itself within the time allotted.

Regards,
Alister

Thanks Alister. I didn't realize that option in the killproc command. Yes, that seems to be exactly my problem.

Thanks.