AWS总结了基于人类可读参数返回不同尺寸

发布于 2025-01-30 16:26:30 字数 383 浏览 5 评论 0原文

我正在运行

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

不离久伴 2025-02-06 16:26:30

好吧,事实证明:

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.

め七分饶幸 2025-02-06 16:26:30

就像 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文