Re: [Networker] mminfo query
2010-05-04 20:07:50
But what if:
If I want to make mminfo query for all clients with specific DNS suffix in
the client name?
Does mminfo not accept wildcards? or is it perhaps possible to let mminfo
make a lookup in a textfile of clientnames?
Joey
2010/5/4 Tim Mooney <Tim.Mooney AT ndsu DOT edu>
> In regard to: [Networker] mminfo query, Joey Admin said (at 6:12pm on
> May...:
>
>
> Hi.
>>
>> I need to get information about how much data a client is holding on the
>> backup storage in total.
>>
>> I'm sure I can query the media database about that somehow, at least make
>> a
>> list of all the savesets that are available and then just sum it up.
>>
>> Does anyone have an idea how to do that?
>>
>
> Via mminfo, it would be something like
>
> mminfo -q 'client=yourclientname' -r 'totalsize(22)' |
> awk ' BEGIN { total=0; } { total= total + $1 } END { print total }'
>
> Be advised that this counts each clone of the client data too, which
> sounds like what you want but is important to understand.
>
> This information is also available via the reports in NMC. Try the
> "Client Summary" report, in the "Client Name Selected" use the << to move
> all your clients out of there and then just move the one client you care
> about back into the "Client Name Selected" box. Then click the "Report"
> tab. NMC reports can also be scripted, although it's a bit tricky to
> get started.
>
> Tim
> --
> Tim Mooney Tim.Mooney AT ndsu DOT
> edu
> Enterprise Computing & Infrastructure 701-231-1076 (Voice)
> Room 242-J6, IACC Building 701-231-8541 (Fax)
> North Dakota State University, Fargo, ND 58105-5164
>
>
> 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
|
|
|