Помимо информации о дисках, позволяет провести быструю проверку производительности.
Пример вывода:
diskinfo -t /dev/ad0 /dev/ad0 512 # sectorsize 320072933376 # mediasize in bytes (298G) 625142448 # mediasize in sectors 620181 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. ad:WD-WMAT14951847 # Disk ident. Seek times: Full stroke: 250 iter in 18.261622 sec = 73.046 msec Half stroke: 250 iter in 5.099161 sec = 20.397 msec Quarter stroke: 500 iter in 8.273972 sec = 16.548 msec Short forward: 400 iter in 3.134996 sec = 7.837 msec Short backward: 400 iter in 1.003357 sec = 2.508 msec Seq outer: 2048 iter in 0.363736 sec = 0.178 msec Seq inner: 2048 iter in 0.295395 sec = 0.144 msec Transfer rates: outside: 102400 kbytes in 1.214796 sec = 84294 kbytes/sec middle: 102400 kbytes in 1.383003 sec = 74042 kbytes/sec inside: 102400 kbytes in 2.714327 sec = 37726 kbytes/sec
TAG: