HPlogo HP-UX Reference > K

killsm(1M)

HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

killsm — kill the sendmail daemon

SYNOPSIS

/usr/sbin/killsm

DESCRIPTION

killsm reads the pid file to get the pid number of the currently running sendmail daemon, and then kills that daemon. The pid file is specified using the PidFile option in the /etc/mail/sendmail.cf file. If this option is not set, sendmail uses /etc/mail/sendmail.pid file as the default pid file.

If the sendmail daemon is not killed instantaneously, killsm will not exit until the sendmail daemon is terminated or after a time interval of 10 seconds.

The ``/sbin/init.d/sendmail stop'' command does the same thing as killsm. HP recommends that system administrators use ``/sbin/init.d/sendmail start'' and ``/sbin/init.d/sendmail stop'' to start and stop sendmail; these startup scripts are used when the system is booting to start sendmail. Advanced system administrators can put /usr/sbin into their search path and just reference ``sendmail -bd -q30m'' to start sendmail, and killsm to stop it.

SEE ALSO

sendmail(1M).