Networker

Re: [Networker] Backuptime Saveset

2006-03-06 10:49:54
Subject: Re: [Networker] Backuptime Saveset
From: Stuart Whitby <swhitby AT DATAPROTECTORS.CO DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Mon, 6 Mar 2006 15:44:47 -0000
Hmm.  The information you need isn't easily available, but there are utilities 
which will quickly convert date/time to seconds-since-1970.  Then you just need 
to pass it the two times, subtract the output of one from the other and you've 
got the duration.

NetWorker Management Console shows saveset duration in the group results if 
that helps.

Cheers,

Stuart.

-----Original Message-----
From: Legato NetWorker discussion on behalf of Tim Verbois
Sent: Mon 06-Mar-06 14:21
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Backuptime Saveset
 
Hello,

I want to determine the backup time of a saveset.

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.

# 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).

Tim

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


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

<Prev in Thread] Current Thread [Next in Thread>