可以占满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

相关文章:

  • 2021-10-01
  • 2021-11-14
  • 2021-06-20
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2021-11-28
  • 2021-12-15
  • 2022-12-23
  • 2021-08-19
  • 2021-08-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案