From: "Gáspár Lajos" <swifty@freemail.hu>
To: James Anderson <japanwikidonate@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: quota display in iptables -L
Date: Fri, 09 Mar 2012 18:21:13 +0100 [thread overview]
Message-ID: <4F5A3C09.3090404@freemail.hu> (raw)
In-Reply-To: <CAL2t0L5=eg8xe3C5zUs1e9+xdNg9U_YNa64V65je81fYoHv_4A@mail.gmail.com>
Hi,
Well... Check out these links:
http://en.wikipedia.org/wiki/Byte
http://www.unitjuggler.com/convert-memory-from-GB-to-GiB.html
2012-03-09 17:35 keltezéssel, James Anderson írta:
>> 31997506400-31997506128=272
>> You are under the quota!
> Thank you for your reply. By discrepancy I mean iptables -L -v showing
> 32GB and iptables-save showing the correct point where it stopped, at
> the quota. That's a 2.2GB difference.
29.8GiByte (binary) = 31 997 506 355.2 Byte = 31.997 506 355 GByte (SI)
(nearly 32 000 000 000 Byte = 32 GByte)
There is no 2.2 GB difference... :D You are mixing prefixes... :D GiByte
!= GByte
See below:
29.8GiByte (binary) = 29.8*1024*1024*1024 = 31 997 506 355.2 Byte
29.8GByte (SI) = 29.8*1000*1000*1000 = 29 800 000 000 Byte
32GiByte (binary) = 32*1024*1024*1024 = 34 359 738 368 Byte
32GByte (SI) = 32*1000*1000*1000 = 32 000 000 000 Byte
31 997 506 400 Byte = 31.997 506 400 GByte (SI)
31 997 506 400 Byte = 29.8000000417232513427734375 GiByte (binary)
32 000 000 000 Byte = 32GByte (SI)
32 000 000 000 Byte = 29.802322387695 GiByte (binary)
Swifty
prev parent reply other threads:[~2012-03-09 17:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAL2t0L4JR-kPUogudF+vWaypYjQmCPureZE6yM4PjYEVV+XhTg@mail.gmail.com>
[not found] ` <CAL2t0L4r5ANvRyM=7Spnx68=wMcQCTR7qDH94V4-TRbXCKA-Gg@mail.gmail.com>
[not found] ` <CAL2t0L4AjXx8QR22Q5cdh6ndPpmmrr58x-t6HG7kHZ6UadtOBg@mail.gmail.com>
2012-03-09 0:19 ` quota display in iptables -L James Anderson
2012-03-09 14:07 ` Gáspár Lajos
2012-03-09 16:35 ` James Anderson
2012-03-09 17:21 ` Gáspár Lajos [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F5A3C09.3090404@freemail.hu \
--to=swifty@freemail.hu \
--cc=japanwikidonate@gmail.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.