[OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?
José Vázquez
ppvazquezfer at gmail.com
Mon May 18 05:45:34 EDT 2015
Try iostat (selectable in busybox). Maybe is what are you looking for.
2015-05-17 0:40 GMT+02:00, valent.turkovic at gmail.com
<valent.turkovic at gmail.com>:
> Here is some interesting info I found using mtdinfo tool:
>
> # mtdinfo /dev/mtd5
> mtd5
> Name: rootfs_data
> Type: nor
> Eraseblock size: 65536 bytes, 64.0 KiB
> Amount of eraseblocks: 104 (6815744 bytes, 6.5 MiB)
> Minimum input/output unit size: 1 byte
> Sub-page size: 1 byte
> Character device major/minor: 90:10
> Bad blocks are allowed: false
> Device is writable: true
>
> So I see there are 104 eraseblocks on this partition. Interesting so
> see finaly some numbers. Now how to see how many times these
> eraseblock were issued "erase eraseblock" command?
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list