That's what I thought too, but testing proves it doesn't work for me for
_written_
> mminfo -q ssid=769091765 -r "volume(7),written(29)"
volume written
000001 138 GB
000002 155 GB
it just increases the leading blanks before the number of GB
did you try this, Tim?
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Tim Mooney
Sent: Thursday, June 19, 2008 12:14 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] mminfo and sizes
In regard to: [Networker] mminfo and sizes, Teresa Biehler said (at
10:01am...:
> I'd like to find out how much data is written to a piece of media
(could
> be disk, could be tape). So, I use mmifo. Unfortunately, it changes
> the units it reports the size in based on the size. For example:
>
> mminfo -q " volume=000999" -r "volume,written"
That's because the field size has a default width. If you look at the
chart in the mminfo man page, you'll see:
attribute value
name range width description
capacity size 8 The volume's estimated capacity.
written kbsize 7 Kbytes written to volume.
%used number 5 Estimated percentage used, or 'full'
Since there are only 7 places available (by default), it scales the
number
and units to fit in that space.
The good news is that any field can have its field width altered just
by including a width:
> mminfo -q "volume=000039" -r "volume(12),written(24)"
Tim
--
Tim Mooney Tim.Mooney AT ndsu DOT edu
Information Technology Services (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
|