Networker

[Networker] mminfo Report Help

2007-01-22 10:19:04
Subject: [Networker] mminfo Report Help
From: Andrew Dietz <andrew.dietz AT OIT.GATECH DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 22 Jan 2007 10:10:35 -0500
I am looking for a way to produce a report via the command line that lists any saves that are still currently running. I can list all saves for a particular host that will show any unfinished saves with the sscomp field set to 'undefined', but I can't seem to be able to query by sscomp=undefined.

mminfo -vr 'ssflags,client(20),name(30),level,savetime(20),sscomp(20)' \
   -q "client=myhost"

vF  myhost /cyrus/mail  incr 01/15/07 19:00:06  01/17/07 04:02:39
vF  myhost /cyrus/mail  incr 01/17/07 19:00:04  01/21/07 02:19:10
viI myhost /cyrus/mail  incr 01/21/07 19:00:24  undefined

but:

mminfo -vr 'ssflags,client(20),name(30),level,savetime(20),sscomp(20)' \
   -q "sscomp=undefined"

mminfo: invalid value specified for `sscomp'

How can I construct this query to where I can generate a report that shows all hosts whose saves are still running, such that my result would appear something like:


viI myhost01 /cyrus/mail  incr 01/20/07 19:00:24  undefined
viI myhost03 /home        incr 01/21/07 17:00:32  undefined
viI myhost09 /usr         incr 01/21/07 20:00:45  undefined
viI myhost12 /opt         incr 01/22/07 20:00:24  undefined

or something similar?

Thanks in advance for your help.

Andrew

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>