Date: Mon, 22 Jul 2002 00:10:12 +0200 From: Stefan Schwarzer <sschwarzer@sschwarzer.net> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: top(1) blocks Message-ID: <3D3B3144.6010603@sschwarzer.net> References: <3D3AD89E.3000104@sschwarzer.net> <20020721195730.GH40625@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Dan thank you for your reply. Dan Nelson wrote: >>The problem: >> >>purpurea# top >>^C > > Hit ^T here instead of ^C. That will print a status line saying where > top is blocking in the kernel. Unfortunately, it doesn't. Pressing ^T doesn't change anything. svss@purpurea:~$ top ^T^C svss@purpurea:~$ > Also try ktrace'ing it, hit ^C, and use > kdump to see what top was doing when you hit ^C. I used svss@purpurea:~$ ktrace top -b -d1 ^C svss@purpurea:~$ (Is this the correct usage? I hope I understood the manpage here.) The corresponding output from kdump is svss@purpurea:~$ kdump 45359 ktrace RET ktrace 0 45359 ktrace CALL execve(0xbfbff5f8,0xbfbffb00,0xbfbffb10) 45359 ktrace NAMI "/sbin/top" 45359 ktrace RET execve -1 errno 2 No such file or directory 45359 ktrace CALL execve(0xbfbff5f8,0xbfbffb00,0xbfbffb10) 45359 ktrace NAMI "/bin/top" 45359 ktrace RET execve -1 errno 2 No such file or directory 45359 ktrace CALL execve(0xbfbff5f8,0xbfbffb00,0xbfbffb10) 45359 ktrace NAMI "/usr/sbin/top" 45359 ktrace RET execve -1 errno 2 No such file or directory 45359 ktrace CALL execve(0xbfbff5f8,0xbfbffb00,0xbfbffb10) 45359 ktrace NAMI "/usr/bin/top" 45359 ktrace NAMI "/usr/libexec/ld-elf.so.1" A kdump from my machine at home where top is working gives the "same" output (only the numbers given with execve differ). "ktrace -di top -b -d1" gives the same output as above. Stefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D3B3144.6010603>