measuring the flash usage

Folkert van Heusden folkert.van.heusden at gmail.com
Tue Sep 20 07:22:28 EDT 2011


Hi,

For an embedded system I'm working on I'd like to monitor the health
of the flash memory.
On regular Linux systems one can look at /proc/diskstats to see how
often the system writes to a disk. It seems though that (at least
kernel 2.6.19) for flash these counters are not updated.
So I was wondering: are there any other ways?
E.g. will the kernel log a message when it has problems writing
to/reading from the flash memory? Are there any other counters
anywhere?

Thanks.

Folkert



More information about the linux-mtd mailing list