Networker

Re: [Networker] 24 time attribute for mminfo?

2003-06-04 15:13:21
Subject: Re: [Networker] 24 time attribute for mminfo?
From: "David E. Nelson" <david.nelson AT NI DOT COM>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Wed, 4 Jun 2003 14:13:16 -0500
Hi George,

-r 'savetime(17)'

I've also learned that you can specify "-q 'savetime>=05/19/03 14:31:00'".

Regards,
        /\/elson



On Wed, 4 Jun 2003, George Sinclair wrote:

> Hi,
>
> Does anyone know how I can get mminfo to display a 24 hour time value
> when using the '-r' option? For example, if I run mminfo as:
>
> mminfo -s server -v -q
> 'pool=pool_name,level=full,savetime>=05/19/03,savetime<=05/27/03' | grep
> 3489341185
>
> I see output like this:
>
> FUL474         hostname      05/24/03 19:00:35   10 GB 3489341185 mb
> full /raid
> FUL479         hostname      05/24/03 19:00:35  316 MB 3489341185 mb
> full /raid
> FUL480         hostname      05/24/03 19:00:35   36 GB 3489341185 hb
> full /raid
> FUL483         hostname      05/24/03 19:00:35   41 GB 3489341185 mb
> full /raid
> FUL484         hostname      05/24/03 19:00:35   38 GB 3489341185 tb
> full /raid
>
> But, if I want to see additional fields, I have to use the '-r' option
> and specify, but there does not appear to be an attribute for the normal
> 24 time value, only the nsavetime which is no good for me. So, running
> something like:
>
> mminfo -s orion -v -q
> 'pool=pool_name,level=full,savetime>=05/19/03,savetime<=05/27/03' -r
> 'volume' -r 'client' -r 'savetime' -r 'sumsize' -r 'ssid' -r'sumflags'
> -r 'level' -r 'name' | grep 3489341185
>
> I see this:
>
> FUL474         hostname    05/24/03  10 GB 3489341185 mb full /raid
> FUL479         hostname    05/24/03 316 MB 3489341185 mb full /raid
> FUL480         hostname    05/24/03  36 GB 3489341185 hb full /raid
> FUL483         hostname    05/24/03  41 GB 3489341185 mb full /raid
> FUL484         hostname    05/24/03  38 GB 3489341185 tb full /raid
>
> which is the closest I can get the output to look like the first one.
> The problem, though, is that I want to add even more attributes, so I
> must use the '-r' option, but this eliminates my nice time value. I
> looked at the man pages for mminfo, and I tried all of the other time or
> date related attributes and none of them gives me this. Anyone play with
> this before?
>
> Thanks.
>
> George
>
> --
> Note: To sign off this list, send a "signoff networker" command via email
> to listserv AT listmail.temple DOT edu or visit the list's Web site at
> http://listmail.temple.edu/archives/networker.html where you can
> also view and post messages to the list.
> =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
>

--
~~ ** ~~  If you didn't learn anything when you broke it the 1st ~~ ** ~~
                        time, then break it again.

--
Note: To sign off this list, send a "signoff networker" command via email
to listserv AT listmail.temple DOT edu or visit the list's Web site at
http://listmail.temple.edu/archives/networker.html where you can
also view and post messages to the list.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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