[BusyBox] question about busybox top command
Bob Winslow
Bob.Winslow at sevis.com
Wed Sep 22 17:36:12 UTC 2004
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
More information about the busybox
mailing list