Networker

Re: [Networker] last instances from command line

2004-04-22 06:16:57
Subject: Re: [Networker] last instances from command line
From: David De Maeyer <ddm AT RUC DOT DK>
To: NETWORKER AT LISTMAIL.TEMPLE DOT EDU
Date: Thu, 22 Apr 2004 12:17:33 +0200
Hej Conrad,

Well I don't get a summed size for the full backup of our Novell boxes,
instead I get a list of 2 GB chuncks... Just wanted to know if I could
avoid using awk and grep. I finally used:

mminfo -q "client=myclient,level=full" -t "1 month ago" | grep USER
|awk '$4 == "04/20/04" { sum += $5 } END { print sum }'

This gives the total size of a portion of the full backup performed
yesterday on myclient.

Using your command anb USER: as for the filesystem, you only get the
chunck called USER: and you miss the <1>USER:, <2>USERS, ...,
<115>USERS:.

I just thought mminfo could have done the job alone...

Regards,
David


On 22 Apr 2004, at 11:49, Conrad Macina wrote:

Hi, David,

Try this syntax:

mminfo -ot -r 'ssid,nfiles,sumsize,savetime,level' -
q 'client=myclient,name=/myfilesystem'

That should produce exactly what you get from Indexes/Instances.

Good luck!

Conrad Macina
Pfizer, Inc.



On Wed, 21 Apr 2004 11:29:39 +0200, David De Maeyer <ddm AT RUC DOT DK> wrote:

Hi all,

I am trying to generate the last instances list (found under
Indexes/Instances on nwadmin) from the command line but it seems like
I
am missing something.

I've tried the following:

mminfo -q "client=myclient"

mminfo -q "client=myclient,name=myset"

mminfo -q "client=myclient,name=myset" -o t

I also tried the -t "yesterday"...

And none of them displayed the same list. How do I get e.g. the number
of files and the size?

Seems like the -B could help but then I can query at the same time.


Any tip?

Best regards,
David


___________________________________________________
David De Maeyer
Roskilde University Center, Department of Computer Science
Box 260, Hus 42.1, 4000 Roskilde, Denmark
voice (+45) 46 74 38 29 / fax (+45) 46 74 30 72

--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

--
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.
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=

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