root@book:~# smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
134381
root@book:~# dd if=/dev/zero of=/home/user/testimage bs=2M count=1024
1024+0 records in
1024+0 records out
2147483648 bytes (2,1 GB, 2,0 GiB) copied, 4,18231 s, 513 MB/s
root@book:~# sync -d /home/user/testimage
root@book:~# smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
134445
root@book:~# dd if=/dev/zero of=/home/user/testimage2 bs=2M count=1024
1024+0 records in
1024+0 records out
2147483648 bytes (2,1 GB, 2,0 GiB) copied, 3,94465 s, 544 MB/s
root@book:~# sync -d /home/user/testimage2
root@book:~# smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
134509
root@book:~# dd if=/dev/zero of=/home/user/testimage3 bs=2M count=1024
1024+0 records in
1024+0 records out
2147483648 bytes (2,1 GB, 2,0 GiB) copied, 4,02744 s, 533 MB/s
root@book:~# sync -d /home/user/testimage3
root@book:~# smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
134573
root@book:~# rm /home/user/testimage*
smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
dd if=/dev/zero of=/home/user/testimage bs=2M count=1024
smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
dd if=/dev/zero of=/home/user/testimage2 bs=2M count=1024
smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
dd if=/dev/zero of=/home/user/testimage3 bs=2M count=1024
smartctl -a /dev/sda |awk '/Total_LBAs_Written/ {print $10}'
rm /home/user/testimage*