> I can ask the start time and end time, but without writing a whole
> script that calculates the time, I cannot determine the correct backuptime.
>
> For example:
>
> # mminfo -r "ssid,sscreate(25), sscomp(25)"
> ssid ss created ss completed
> 2198482180 03/05/06 01:12:52 03/05/06 01:37:00
> 1158296367 03/05/06 01:39:11 03/05/06 01:39:57
> ...
>
> I have to calculate here between column 2 and 3.
Yes. Some perl modules would make that pretty simple. That's probably
the method I would use. I do wish both sscreate and sscomp had
equivalent 'nsavetime' reports.
> # mminfo -r "ssid,nsavetime(25), sscomp(25)"
> ssid save time ss completed
> 2198482180 1141517572 03/05/06 01:37:00
> 1158296367 1141519150 03/05/06 01:39:57
> ...
>
> Column 2 is very usefull, but why can't I get the same for column 3?
> Then I can just do Col 3-Col 2 and I get my backuptime (in seconds).
Note that 'nsavetime' is the same as 'savetime', not the same as
'sscreate'.
The difference shows up if the clocks on the client and server are not
the same. 'savetime' and 'nsavetime' are client based. 'sscreate' and
and 'sscomp' are server based. To find duration, you want to either
parse and subtract sscomp from sscreate, or parse out the duration from
the savegroup completion.
--
Darren Dunham ddunham AT taos DOT com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
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
wit 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
|