I've used script #!/bin/bash
while (true) do str=`date`" $(cat /sys/block/sda/stat)" echo $str >> log.txt sleep 1; done
Reproduced in: Linux vm145 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.3 LTS Release: 16.04 Codename: xenia
The difference of numbers of sectors written between line 30 and 29 in log.txt is very big and in gigabytes equal 153Gb/sec
(876330784-554468984)*512/(1024*1024*1024)
I've used script
#!/bin/bash
while (true) do sda/stat) "
str=`date`" $(cat /sys/block/
echo $str >> log.txt
sleep 1;
done
Reproduced in:
Linux vm145 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenia
The difference of numbers of sectors written between line 30 and 29 in log.txt is very big and in gigabytes equal 153Gb/sec
(876330784- 554468984) *512/(1024* 1024*1024)