I believe that the value displayed is an unsigned 32-bit integer, which means
that the largest value is 4,294,967,295 (4 GB - 1). So a value that is 4 GB or
larger is iteratively divided by 1 KB (1,024) until it is less than 4 GB. It is
then displayed with the appropriate units, i.e. KB, MB, GB, etc.
In the first query below, the first value is 3,556,409,784 which is less than 4
GB. Since this fits in a 32-bit integer, it is displayed with a unit of Bytes.
When the value reaches 4 GB (or higher), it is divided by 1,024, then displayed
in Kilobytes. Thus in the second query, the value is something on the order of
4,637,657,088 bytes, which is larger than a 32-bit integer can hold. So it is
divided by 1,024 to yield a value of 4,528,962, and displayed with a unit of
Kilobytes.
Andy Raibeck
ADSM Level 2 Support
ADSM-L AT VM.MARIST DOT EDU
01-12-98 09:52 AM
Please respond to ADSM-L AT VM.MARIST DOT EDU @ internet
To: ADSM-L AT VM.MARIST DOT EDU @ internet
cc:
Subject: Re: export node (+more?)
I also wondered the same thing and thought it was annoying. I think it
should always display the same thing because it makes it difficult to
automatically check for the completion message. It changes based on
Bytes or Kbytes....Maybe we will get a reply from the developers....
>----------
>From: Tom Tann{s[SMTP:tom.tannas AT USIT.UIO DOT NO]
>Sent: Friday, January 09, 1998 5:50 PM
>To: ADSM-L AT VM.MARIST DOT EDU
>Subject: export node (+more?)
>
>I'm doing a few export node-sessions, and have been wondering about how
>some of the numbers from the 'q proc' are displayed. The number of bytes
>copied changes from Bytes to Kilobytes somewhere inbetween these two
>outputs..
>Why here, and not by the 1K, 1M, 1G, 1T... limits... ?
>
> 73 EXPORT NODE ANR0648I Have copied the following: 1 Nodes
>4
> Filespaces 121791 Backup Files 3556409784
> Bytes (0 errors have been detected).
>
>
> 73 EXPORT NODE ANR0648I Have copied the following: 1 Nodes
>4
> Filespaces 132980 Backup Files 4528962
> Kilobytes (0 errors have been detected).
>
|