dd if=/dev/zero of=/dev/null 使用

 

可以占满cpu

dd if=/dev/zero of=/dev/null

 

 

把空数据写进/dev/null
据说是测试吞吐量

time dd if=/dev/zero of=/dev/null bs=1M count=40240
40240+0 records in
40240+0 records out
42194698240 bytes (42 GB) copied, 1.53453 s, 27.5 GB/s

real 0m1.535s
user 0m0.006s
sys 0m1.529s

posted @ 2019-09-12 17:06  科学小怪癖  阅读(4195)  评论(0编辑  收藏  举报