top - failed to open 'loadavg'
hinko.kocevar at cetrtapot.si
hinko.kocevar at cetrtapot.si
Mon Feb 20 14:05:02 UTC 2006
Hi,
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'
I confirmed that /proc/loadavg exists and that is readable.
# cat /proc/loadavg
0.00 0.00 0.00 1/18 762
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.
Any comments?
best 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