On 2013-08-08 15:41, Jan Ingvoldstad wrote:
$ ps -o cmd -p 17940
/usr/sbin/exim4 -Mc 1V7QMJ-0005WT-CR

You're right - pid could be reused by different application.
Though I think it would be faster to do simple stat call for /proc/17940

Please note that kill -KILL is very brutal, and gives the process no chance to clean up its state. This may be what you desire if it is very important
that exim doesn't get to do its job.

I planned to check if exim closes more-less immediately (but still with proper cleanup) on SIGTERM.

regards
--
Marcin Gryszkalis, PGP 0x9F183FA3
jabber jid:m...@fork.pl, gg:2532994


--
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to