From: Stefan Moeding on 11 Feb 2010 12:29 Hi! RICCARDO writes: > If I run ps -ef I can see sendmail process and not sendmail-nta !!! There is a difference between the name of the executable and the process name (which the process is even able to change) including arguments. Killall seems to use the name of the executable while you see at the latter with "ps -ef". Look at the differences between the comm and cmd columns: # ps axo user,pid,comm,cmd Other than that enough reasons for not using killall at all were mentioned. -- Stefan
From: RICCARDO on 13 Feb 2010 04:53 On 11 Feb, 18:29, Stefan Moeding <Feb2010.2.kil...(a)spamgourmet.com> wrote: > Hi! > > RICCARDO writes: > > If I run ps -ef I can see sendmail process and not sendmail-nta !!! > > There is a difference between the name of the executable and the process > name (which the process is even able to change) including arguments. > Killall seems to use the name of the executable while you see at the > latter with "ps -ef". Look at the differences between the comm and cmd > columns: > > # ps axo user,pid,comm,cmd > > Other than that enough reasons for not using killall at all were > mentioned. > > -- > Stefan I found out process name is sendmail and executable, which is invoked, is sendmail-mta I can see both /usr/sbin/sendmail and /usr/sbin/sendmail-mta link to the same file
First
|
Prev
|
Pages: 1 2 Prev: killall -HUP sendmail Next: killall -HUP sendmail [Linux/Debian/Lenny] |