[PATCH] Fix cpu detection in iostat applet for ARM
Denys Vlasenko
vda.linux at googlemail.com
Mon Aug 16 00:50:20 UTC 2010
On Thursday 12 August 2010 15:00, Gustavo Zacarias wrote:
>
> The new iostat applet tries to count CPUs via /proc/cpuinfo checking for
> "Processor\t:".
> Some architectures like ARM use "processor\t:".
> We should really be using something like get_cpu_nr() from the mpstat
> applet that parses /proc/stat instead since SPARC uses yet another
> convention that won't work with this either.
Yep. That's what I did instead of applying the patch.
--
vda
More information about the busybox
mailing list