AWS总结了基于人类可读参数返回不同尺寸
我正在运行
aws s3 ls --recursive --summarize --human-readable s3://{blahblah}/novaseq/CLI022222/
此功能,为我的该目录的总尺寸为960.6 GIB,
但是,如果我在没有-Human-prable Param的情况下运行此命令,这就是我得到的结果。
aws s3 ls --recursive --summarize s3://praxisgenomics-project-prod/novaseq/CLI022222/
总尺寸1031411373687 ...哪个是〜1031 GB ...
我在这里缺少什么?
I am running
aws s3 ls --recursive --summarize --human-readable s3://{blahblah}/novaseq/CLI022222/
This gives me a total size for this directory of 960.6 GiB
However, if I run this command without the --human-readable param, this is the result I get.
aws s3 ls --recursive --summarize s3://praxisgenomics-project-prod/novaseq/CLI022222/
Total size 1031411373687... which is ~1031 GB...
What am I missing here?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好吧,事实证明:
gib!= gb
gib == 1024^3
gb == 1000^3
1031411373687/(1024^3)= 960.58
我没有意识到gib!= gb。
Well, turns out:
GiB != GB
GiB == 1024^3
GB == 1000^3
1031411373687/(1024^3)=960.58
I didn't realize GiB != GB.
就像 fidi naj 所说的一个GB被定义为1000³(1,000,000,000)字节,一个GIB为1024³(1,073,741,824)字节。这意味着一个GB等于0.93 Gib。
Like Fidi Naj said one GB is defined as 1000³ (1,000,000,000) bytes and one GiB as 1024³ (1,073,741,824) bytes. That means one GB equals 0.93 GiB.