Networker

Re: [Networker] mminfo - show time length of group run

2011-02-09 03:14:28
Subject: Re: [Networker] mminfo - show time length of group run
From: "Abad Uriarte, Arkaitz" <arkaitz.abad AT EHU DOT ES>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Wed, 9 Feb 2011 09:13:57 +0100
Hello;

You could use savetime (or sscreate) and sscomp to know where started and where finished.
Note, you use savetime(22) to see the hour.

example:
# mminfo -q "group=XXX,savetime >= -1 day" -r "client,name,savetime(22),sscomp(22)" client name date time ss completed
XXX /                            09/02/11 00:43:41     09/02/11 00:43:59
XXX /home                        09/02/11 00:32:17*    09/02/11 00:32:24
XXX /nsr                         09/02/11 00:50:10     09/02/11 00:53:15
XXX /opt                         09/02/11 00:44:48     09/02/11 00:45:17
XXX /opt2                        09/02/11 00:55:08     09/02/11 00:55:19
XXX /orad00                      09/02/11 00:45:45     09/02/11 00:55:46
XXX /orad01                      09/02/11 00:47:24     09/02/11 00:48:50

XXX /stage                       09/02/11 00:54:39     09/02/11 00:55:07
XXX /tmp                         09/02/11 00:44:43     09/02/11 00:44:55
XXX /usr                         09/02/11 00:44:04     09/02/11 00:44:15
YYYYYYYYYYYYYYYYY index:XXX      09/02/11 01:09:12     09/02/11 01:10:18*


Arkaitz
----------------------------------------------------------------------
ARKAITZ ABAD URIARTE

Euskal Herriko Unibertsitatea              Email: arkaitz.abad @ehu.es
Bizkaiko I.I.S.I.G                         Tel. : 94 601 8390
----------------------------------------------------------------------
Aurreztu papera. E-posta hau inprimatu beharra daukazu?



Michael Leone <Michael.Leone AT PHA.PHILA DOT GOV> escribió:

I have a need to determine how long a certain group takes to backup, on a
specific date. In looking through the mminfo manual page, I'm guessing
that I will have to show the savetime, and the sscomp (completion) time,
and do a bit of time arithmetic? I don't see a field for "length of time
the job took to complete"? I was hoping for a "duration" filed, like NMC
monitoring shows. I'm just looking for something like "Group XYZ took 120
minutes to complete on last Thursday".

Thanks


--
Michael Leone
Network Administrator, ISM
Philadelphia Housing Authority
2500 Jackson St
Philadelphia, PA 19145
Tel:  215-684-4180
Cell: 215-252-0143
<mailto:michael.leone AT pha.phila DOT gov>

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

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