Networker

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

2007-10-04 12:35:48
Subject: [Networker] Unit Scale changes in totalsize attribute in v 7.4 of mminfo
From: Andrew Dietz <andrew.dietz AT OIT.GATECH DOT EDU>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 4 Oct 2007 12:29:12 -0400
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