dd命令

BLOCKS  and  BYTES may be followed by the following multiplicative suffixes: xM M, c 1, w 2,  b  512,  kB  1000,  K 1024,  MB  1000*1000,  M 1024*1024,  GB 1000*1000*1000, G 1024*1024*1024, and so on for T, P, E,Z, Y.


[root@lucky ~]# dd if=/dev/zero of=test1 bs=1 count=1

1+0 records in
1+0 records out
1 byte (1 B) copied, 4.1e-05 seconds, 24.4 kB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1xM count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.001786 seconds, 587 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.001601 seconds, 655 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1c count=1
1+0 records in
1+0 records out
1 byte (1 B) copied, 4.1e-05 seconds, 24.4 kB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1w count=1
1+0 records in
1+0 records out
2 bytes (2 B) copied, 3.7e-05 seconds, 54.1 kB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1b count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 4.3e-05 seconds, 11.9 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1kB count=1
1+0 records in
1+0 records out
1000 bytes (1.0 kB) copied, 5.8e-05 seconds, 17.2 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1K count=1
1+0 records in
1+0 records out
1024 bytes (1.0 kB) copied, 4.2e-05 seconds, 24.4 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1MB count=1
1+0 records in
1+0 records out
1000000 bytes (1.0 MB) copied, 0.00156 seconds, 641 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1M count=1
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.001604 seconds, 654 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1GB count=1
1+0 records in
1+0 records out
1000000000 bytes (1.0 GB) copied, 2.44166 seconds, 410 MB/s
[root@lucky ~]# dd if=/dev/zero of=test1 bs=1G count=1
1+0 records in
1+0 records out
1073741824 bytes (1.1 GB) copied, 1.89339 seconds, 567 MB/s
[root@lucky ~]# 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值