Re: [Networker] Redirecting messages with savegrp
2003-12-19 11:49:18
The following worked:
savegrp -vvvv daily >daily.txt 2>&1
Thanks to everyone who responded!
David L. King
Enterprise Computing
Global Computing and Telecommunications Services
e-Information Services
Eastman Chemical Company
P.O. Box 431
Kingsport, TN 37662-5284
"Good judgment is the result of experience. However, experience is
often the result of poor judgment."
-----Original Message-----
From: Stan Horwitz [mailto:stan AT TEMPLE DOT EDU]
Sent: Friday, December 19, 2003 11:45 AM
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Subject: Re: [Networker] Redirecting messages with savegrp
On Fri, 19 Dec 2003, King, David - Eastman wrote:
>I'm trying to redirect command line messages to a text file from
>savegrp
>(6.1.3) as follows:
>
> savegrp -vvvvv daily > daily.txt
>
>....does not work. It creates the text file, but writes nothing to it.
>
>Any advice? (It works with mminfo.)
As far as I can tell, the savegrp notifications are not generated
directly by a running savegrp process so redirection would not work. You
might consider creating a custom savegrp notification in
nwadmin->customize->notifications to implement your idea or perhaps
nwadmin->customize->write
a script to scan the info from the /nsr/logs/daemon.log file.
--
Note: To sign off this list, send a "signoff networker" command via
email to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can also
view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
|
|
|