Re: logfile (Re: Frequency of reboot?)

From: James R Grinter <jrg@dont-contact.us>
Date: Wed, 2 Jul 1997 18:10:43 +0100

On Wed 2 Jul, 1997, Nathalie Houde <admhoude@cooptel.qc.ca> wrote:
>Jonathan Larmour wrote:
>> Use "kill -USR1 `cat /usr/local/squid/logs/squid.pid`" (or wherever squid
>> puts its PID, defined in squid.conf). This rotates the log files without
>> restarting squid.
>
>I tried this command on Irix 5.3 and it does'nt work does anyone know
>the equivalent command for Irix?

my 6.2 systems have something like
  [ -f /usr/local/squid/logs/squid.pid ] && /bin/kill -USR1 `cat
/usr/local/squid/logs/squid.pid`

as a line in root's crontab.

It's very likely that you just tried it with a shell who's builtin
kill command doesn't understand USR1 (#16, under Irix 5.3, incidentally).

James.
Received on Wed Jul 02 1997 - 14:03:55 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:39 MST