[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [BusyBox] question about busybox top command
From:       David Meggy <dmeggy () techsol ! ca>
Date:       2004-09-22 18:06:29
Message-ID: 1095876390.27242.140.camel () DavidAsus
[Download RAW message or body]

Are you using uClibc with locales enabled on a non-x86 platform?  I've
seen this happen before with a misconfigured uClibc setup.  This was
from using the x86 prebuilt locales which are only for x86.

David

On Wed, 2004-09-22 at 10:36, Bob Winslow wrote:
> 
> 
> Hey, quick question about the top command.
> 
> I am using the busybox-1.00-rc3 on a kernel from DENX  (www.denx.de) which 
> is 2.4.24 and running on a mpc8280 home grown board we built.
> 
> I tried running the top command and it just seems to hang...  sucking up %100 of the cpu.
> 
> I do have the /proc directory mounted(see below).
> 
> I can see via another top executable that the "exe" processes starts up...
> also ran "strace top" and see llseek/reads just scroll forever...
> 
> anyone have any ideas??  do I have something misconfigured??  or did I build
> busybox with some missing options??  does the top command require any other options
> turned on in busybox?
> 
> 
> any suggestions would be helpful.
> 
> Bob
> 
> 
> 
> 
> 
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.49 23220.09\n", 79)      = 18
> _llseek(4, 0, [0], SEEK_SET)            = 0
> read(4, "cpu  2547067 0 1687857 2272126\nc"..., 79) = 79
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.50 23220.09\n", 79)      = 18
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.50 23220.09\n", 79)      = 18
> _llseek(4, 0, [0], SEEK_SET)            = 0
> read(4, "cpu  2547067 0 1687857 2272126\nc"..., 79) = 79
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.50 23220.09\n", 79)      = 18
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.51 23220.09\n", 79)      = 18
> _llseek(4, 0, [0], SEEK_SET)            = 0
> read(4, "cpu  2547068 0 1687857 2272126\nc"..., 79) = 79
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "65070.54 23220.09\n", 79)      = 18
> 
> 
> 
> 
> # mount /proc so "reboot" works
> /bin/mount -t proc proc /proc
>  
> 
> 
> 
>  249 root       9   0  6544 6536  1092 S     0.0  nan 428:37 TStack.bin
>   354 root      19   0   696  696   600 R     0.0  nan   0:04 exe
>   293 root      10   0  4240 4240  3068 S     0.0  nan 156:12 ProcIsup
>   289 root       9   0  2516 2516  2256 S     0.0  nan 102:26 MtpProxy
>   351 root      18   0  1124 1120   892 R     0.0  nan   0:25 top.saveit
>    16 root       9   0   488  488   392 S     0.0  nan   0:17 telnetd
>     1 root       8   0   624  624   540 S     0.0  nan   0:05 init
>     2 root       9   0     0    0     0 SW    0.0  nan   0:00 keventd
>     3 root      19  19     
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> busybox mailing list
> busybox@mail.busybox.net
> http://codepoet.org/mailman/listinfo/busybox
-- 
~~~~~~~~~~~~~~~~~~~~~~~~
     David Meggy
     Engineering

Technical Solutions Inc.
Unit #1 7157 Honeyman St
Delta BC Canada, V4G 1E2
     www.techsol.ca

eMail: dmeggy@techsol.ca
Tel: 604 946 TECH (8324)
Fax: 604 946 6445
~~~~~~~~~~~~~~~~~~~~~~~~



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic