Networker

Re: [Networker] Getting leading zeros in date and time output from mminfo?

2010-09-17 03:50:32
Subject: Re: [Networker] Getting leading zeros in date and time output from mminfo?
From: "Abad Uriarte, Arkaitz" <arkaitz.abad AT EHU DOT ES>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 17 Sep 2010 09:48:10 +0200
hello;

For example, savetime(22) --> start time, sscompl(22) --> finis time, totalsize(2)--> size, (2) is to see in GB MB ...

# mminfo -q "client=XXX,savetime >= -4 day" -r "savetime(22),sscomp(22), level,totalsize(2),name" -o t
     date     time         ss completed       lvl total name
     14/09/10 00:20:37     14/09/10 00:20:37 incr 4  B /boot
     14/09/10 00:20:42     14/09/10 00:20:43 incr 133 KB /
     14/09/10 00:20:52     14/09/10 00:20:52 incr 2742 KB /var
     14/09/10 00:20:57     14/09/10 00:20:57 incr 876  B /tmp
     14/09/10 00:20:58     14/09/10 00:20:58 incr 2928 KB /home
     15/09/10 00:14:26     15/09/10 00:14:26 incr 4  B /boot
     15/09/10 00:14:31     15/09/10 00:14:32 incr 10 KB /
     15/09/10 00:14:36     15/09/10 00:14:36 incr 2961 KB /var
     15/09/10 00:14:38     15/09/10 00:14:39 incr 876  B /tmp
     15/09/10 00:14:43     15/09/10 00:14:43 incr 2921 KB /home
     16/09/10 00:06:04     16/09/10 00:31:20 incr 2955 KB /home
     16/09/10 00:06:09     16/09/10 00:31:53 incr 4  B /boot
     16/09/10 00:06:10     16/09/10 00:32:10 incr 3388 KB /var
     16/09/10 00:06:11     16/09/10 00:32:11 incr 27 KB /
     16/09/10 00:06:13     16/09/10 00:32:10 incr 876  B /tmp

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'm wondering - how can I tell mminfo to use leading zeros when reporting
date and time fields? Right now, it shows me "5/30/2008" instead of
"05/30/2008". This throws off the alignment of the columns returned by
mminfo. Same for time fields, which are reported in the 12 hour AM/PM
format. I'm not seeing anything in the command reference that's jumping
out at me, as to how to get this to happen.

Is that some sort of OS setting? This would be Windows 2003.


--
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