Am 14.9.2009 02:31 schrieb HORWITZ, STANLEY R.:
> On Sep 13, 2009, at 7:13 PM, Joey wrote:
>
>> Hi all.
>>
>> I'm wondering how it's possible to get information about how long
>> time a
>> backup takes.
>>
>> mminfo gives you information about savetime which is the start time.
>> It's
>> also possible to let mminfo report the sscomp which is the
>> completetion
>> time.
>>
>> But how do you let mminfo report the duration time? Since it has the
>> start
>> and end time, it should be able to tell you in a report the time it
>> takes
>> to backup each save set.
>
> The best you can do is write a script that subtracts start time from
> the completion time.
>
> 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
Attention:
(from man mminfo)
> savetime time 9 The save time (on the client).
>
> sscreate time 9 The creation time (on the server).
> If the client and server clocks are out of
> sync, this time may be different from the
> save time.
>
> .....
>
> sscomp time 9 The save set's completion time. This is
> the time the save set backup was completed.
>
So - savetime is client time, sscreate + sscomp is server time.
So better use sscreate and sscomp for calculations.
Here is a example:
> li97454@asgard (~)2\12: mminfo -s slsfte -t '1 days ago'
> -q'client=asgard,name=/'
> -r'client,name,level,savetime(20),sscreate(20),sscomp(20)'
> client name lvl date time ss
> created ss completed
> asgard / incr 09/13/09 20:00:31
> 09/13/09 20:00:18 09/13/09 20:11:33
> li97454@asgard (~)2\13:
Best regards / Mit freundlichen Grüßen,
Andreas Fenner
--
---------------------------------------+-------------------------------
Thales Rail Signalling Solutions GmbH |
Dept. TS/ESP-2 |
Lorenzstrasse 10 | phone: +49 711 869-49823
D-70435 Stuttgart | fax: +49 711 869-46598
---------------------------------------+-------------------------------
Sitz der Gesellschaft/Domicile of the Company: Stuttgart
Amtsgericht/District Court: Stuttgart HRB 720908
Geschäftsführer/Managing Directors:
Hans Leibbrand (Vorsitzender/Chairman), Manfred Riedinger
-----------------------------------------------------------------------
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
|