Re: [Networker] Backup times in mminfo
2006-02-14 12:28:56
>
> I am trying to write a perl script that generates a customized
> report. One of the things I need to include in this report is the
> start time and end time for each save set. I am trying to interpret
> the man page for mminfo on which fields provide this information, but
> the documentation is not at all clear. I thought sscomp would be the
> actual time in hours:minutes:seconds mm/dd/yy (or some other similar
> format) for when a saveset completes, but it just gives the date; no
> time. In fact, all those fields that say they report the time for
> some event are only 9 characters wide and report only the date, not
> the full time.
You need to increase the width of the field so the time will display. I
think 18 is sufficient. sscreate(18),sscomp(18).
I wish both of those had an 'nsavetime' equivalent for date parsing...
--
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
|
|
|