Networker

[Networker] nsr_render_log

2009-03-31 01:37:50
Subject: [Networker] nsr_render_log
From: kit <networker-forum AT BACKUPCENTRAL DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Tue, 31 Mar 2009 01:27:09 -0400
If you dont want to have it rendering the log permanently I use this script.
I have not noticed any additoal load with log rendering but the server is 
heavyily enough loaded at peak to avoid adding my load.

Pass it the hours you want rendered. Defaults to 1.

#!/bin/ksh
lines=$1
[[ -z $hours ]] && hours=1
while true
do
   echo "++++++++++++++++++++++++++++++++++++++++"
   nsr_render_log  -S "$hours hours ago" /nsr/logs/daemon.raw
sleep 20
done






Alan Rubin wrote:
> Hello,
> 
> We used to keep a tail going of our daemon.log, but we've just upgraded
> from 7.3.3 to 7.4.4 and daemon.raw is certainly harder to follow.  Is
> there any way to get nsr_render_log to behave in a similar manner to
> 'tail -f' while providing the filtered/cleaned output from daemon.raw?
> 
> Regards,
> 
> Alan Rubin
> Technician Unix
> DCS Midrange Services
> Phone: +61 (08) 8999 5111
> Fax:      +61 (08) 8999 7493
> e-Mail: alan.rubin < at > nt.gov.au
> 
> 
> 
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER


+----------------------------------------------------------------------
|This was sent by kit.cunningham AT krisanya.com DOT au via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

<Prev in Thread] Current Thread [Next in Thread>