Networker

Re: [Networker] Unit Scale changes in totalsize attribute in v 7.4 of mminfo

2007-10-05 05:20:57
Subject: Re: [Networker] Unit Scale changes in totalsize attribute in v 7.4 of mminfo
From: "Faidherbe, Thierry" <Thierry.Faidherbe AT HP DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 5 Oct 2007 09:16:11 -0000
Andrew,

Just increase more the totalsize field length as show here :

C:\>mminfo -q ssid=4249363831   -r totalsize
      11 MB

C:\>mminfo -q ssid=4249363831   -r "totalsize(50)"
                                          11429792 

then remove trailing spaces.

HTH

TH


Kind regards - Bien cordialement - Vriendelijke groeten,

Thierry FAIDHERBE

HP Services - Storage Division
Tru64 Unix and Legato Enterprise Backup Solutions Consultant
                                  
 *********       *********  HEWLETT - PACKARD SPRL/BVBA
 *******    h      *******  Hermeslaan, 1a
 ******    h        ******  B-1831 Diegem 
 *****    hhhh  pppp *****  BELGIUM
 *****   h  h  p  p  *****     
 *****  h  h  pppp   *****  Phone :    +32 (0)2  / 729.85.42  
 ******      p      ******  Mobile :   +32 (0)498/  94.60.85  
 *******    p      *******  Fax :      +32 (0)2  / 290.15.49
 *********       *********  Email/MSN : thierry.faidherbe(at)hp.com     
                                  Internet  : http://www.hp.com/
      I  N  V  E  N  T           
                                
      Enterprise number 0402.220.594  RPM/RPR Brussels           

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of Andrew Dietz
Sent: jeudi 4 octobre 2007 18:29
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Unit Scale changes in totalsize attribute in v 7.4
of mminfo

I think I have just encountered a subtle but important (and not
documented?) change in mminfo for version 7.4 having to do with the
output of totalsize in a custom query.

The following command:

bash-3.00# mminfo -x c\|  -o t -a -v  -r
'level,sscreate(22),totalsize(15)'

outputs the following under 7.3.2:

level|ss-created|total
incr|05/02/07 20:00:33|692908
incr|05/02/07 20:00:40|403729612
9|05/02/07 20:01:29|1492425900
incr|05/02/07 20:01:49|35620
incr|05/02/07 20:02:02|437950640
incr|05/02/07 20:02:03|693192
9|05/02/07 20:02:50|1621495300
9|05/02/07 23:15:17|1570557704
incr|05/02/07 23:35:19|5812236920


but outputs the following under 7.4

level|ss-created|total
full|08/06/07 17:11:57|4  B
full|08/06/07 17:11:57|4  B
full|08/06/07 17:11:57|114 KB
full|08/06/07 17:11:57|1989 MB
full|08/06/07 17:11:57|3921 MB
full|08/06/07 17:11:57|2019 MB
full|08/06/07 17:12:03|3904 MB
full|08/06/07 17:18:09|46 GB
full|08/06/07 17:25:47|77 GB

Notice that in 7.4, the total size of the savesets are formatted to a
unit scale as the program sees fit (B, KB, GB, etc), whereas in previous
versions the output was always in bytes. Does anyone know how to get
mminfo in 7.4 to output the totalsize attribute in bytes as it used to
in previous versions?

Thanks in advance,
Andrew

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