HP3000-L Archives

October 2008, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gilles Schipper <[log in to unmask]>
Reply To:
Gilles Schipper <[log in to unmask]>
Date:
Fri, 3 Oct 2008 14:13:10 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
One more file to look at - particularly if using sendmail.

The file is /tmp/syslog.log

I have a job that runs regularly that copies and re-creates an empty
syslog.log file.

!job slogrsj,mgr.syslog;hipri
!sh.hpbin.sys
cd /tmp
touch syslog.log.bu
rm syslog.log.bu
cp syslog.log syslog.log.bu
rm syslog.log
touch syslog.log
exit
!eoj

If you ever needed to investigate an old syslog file, it could
(presumably) be easily restored from backup.





-------------------------------------------------------------------------------------------------
Gilles Schipper
GSA Inc.
HP System Administration Specialists
300 John Street, Box 87651   Thornhill, ON Canada L3T 7R4
Voice: 905.889.3000     Fax: 905.889.3001
email:  [log in to unmask]  web: http://www.gsainc.com
-------------------------------------------------------------------------------------------------


* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2