On Mon, Jan 25, 1999 at 11:23:22PM +0100, Peter van Dijk wrote:
# On Mon, Jan 25, 1999 at 01:29:42PM -0800, Samuel Dries-Daffner wrote:
# >
# > How can I move the syslog.mail file and make a new one safely?
# >
# > The one I have is 62 MB and represents about 15% of our root partition.
# >
# > Thanks in advance for any help on this :)
#
# mv syslog.mail syslog.mail.1
# killall -HUP syslogd
#
I know this is good intentions and all, but please don't advise people to use
the killall command unless you KNOW exactly what it does on their system.
here is a snippet from the man page for my killall (Solaris)
killall(1M) Maintenance Commands killall(1M)
NAME
killall - kill all active processes
SYNOPSIS
/usr/sbin/killall [ signal ]
AVAILABILITY
SUNWcsu
DESCRIPTION
killall is used by shutdown(1M) to kill all active processes
not directly related to the shutdown procedure.
killall terminates all processes with open files so that the
mounted file systems will be unbusied and can be unmounted.
killall sends signal (see kill(1)) to the active processes.
If no signal is specified, a default of 15 is used.
The killall command can be run only by the super-user.
SEE ALSO
kill(1), ps(1), fuser(1M), shutdown(1M), signal(3C)
/- [EMAIL PROTECTED] --------------- [EMAIL PROTECTED] -\
|Justin Bell NIC:JB3084| Time and rules are changing. |
|Pearson | Attention span is quickening. |
|Developer | Welcome to the Information Age. |
\-------- http://www.superlibrary.com/people/justin/ ----------/