5
rated 0 times
[
5]
[
0]
/ answers: 1 / hits: 1726
/ 1 Year ago, tue, march 7, 2023, 6:55:11
Is there any way to find out how much data have been written on the partition since it was created?
Talking about ext4 fs.
More From » ext4
Is there any way to find out how much data have been written on the partition since it was created?
Talking about ext4 fs.
Take a look at the files in /sys/fs/ext4/<dev-name>/
.
You would be interested in /sys/fs/ext4/<dev-name>/lifetime_write_kbytes
.
lifetime_write_kbytes
This file is read-only and shows the number
of kilobytes of data that have been written to this filesystem since
it was created.
hth