[OpenWrt-Devel] How to track IO usage of internal flash mtd partitions?

José Vázquez ppvazquezfer at gmail.com
Tue May 19 05:01:16 EDT 2015


2015-05-18 13:57 GMT+02:00, valent.turkovic at gmail.com
<valent.turkovic at gmail.com>:
> Looks like iostat only tracks block devices so I can see change for
> usb flash device but no change for internal flash partitions :(
>
> # iostat
> Linux 3.10.49 (Demo36_Muc (Base9)) 05/18/15 _mips_ (1 CPU)
>
> avg-cpu:  %user   %nice %system %iowait  %steal   %idle
>            5.34    0.00    1.47    0.00    0.00   93.19
>
> Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> mtdblock0         0.00         0.00         0.00        208          0
> mtdblock1         0.00         0.00         0.00        208          0
> mtdblock2         0.00         0.00         0.00        208          0
> mtdblock3         0.00         0.00         0.00        208          0
> mtdblock4         0.00         0.04         0.00      12240          0
> mtdblock5         0.00         0.00         0.00        208          0
> mtdblock6         0.00         0.00         0.00        208          0
> mmcblk0           0.02         0.03         0.21       9786      69721
>
>
> Any ideas?
>
> On 18 May 2015 at 11:45, José Vázquez <ppvazquezfer at gmail.com> wrote:
>> Try iostat (selectable in busybox). Maybe is what are you looking for.
>>
Try dstat. you can select it in the utilities menu.
http://dag.wiee.rs/home-made/dstat/

Pepe
_______________________________________________
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