top - failed to open 'loadavg'

hinko.kocevar at cetrtapot.si hinko.kocevar at cetrtapot.si
Mon Feb 20 14:53:02 UTC 2006


Yann E. MORIN wrote:
> Hinko,
> 
> Quoting "hinko.kocevar at cetrtapot.si" <hinko.kocevar at cetrtapot.si>:
>> I'm using busybox-1.01 and uClibc-0.9.27-1 on cris arch. When I try to
>> execute 'top' command I get following error:
>> # top
>> failed to read 'loadavg'
> [--SNIP--]
>> Further I debugged the call to fscanf in busybox (procps/top.c) fails
>> during comparison of the return value - it is not 3, but 1 ?!?!
>> A simple test program that tries to read the loadvg file in the same way
>> fails too... It seem there may be a problem with uClibc.
> 
> Locale problem. Disable locale in uClibc, and you'll be fine.

Hmm, thanxx - will try it out ...

regards,
hinko

-- 
ČETRTA POT, d.o.o., Kranj
Planina 3
4000 Kranj
Slovenija
Tel. +386 (0) 4 280 66 37
E-mail: hinko.kocevar at cetrtapot.si
Http: www.cetrtapot.si




More information about the busybox mailing list