Date: Sun, 21 Jul 2002 17:19:18 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Stefan Schwarzer <sschwarzer@sschwarzer.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: top(1) blocks Message-ID: <20020721221918.GI40625@dan.emsphone.com> In-Reply-To: <3D3B3144.6010603@sschwarzer.net> References: <3D3AD89E.3000104@sschwarzer.net> <20020721195730.GH40625@dan.emsphone.com> <3D3B3144.6010603@sschwarzer.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jul 22), Stefan Schwarzer said: > 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" Hm. you should see lines with "top" in the 2nd column. It looks like top isn't even being executed at all. Ah, wait. Top is setuid root on -STABLE. Try running ktrace/top as root. You should get a much larger dump. Only the last 20 or so lines will be important -- Dan Nelson dnelson@allantgroup.com 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?20020721221918.GI40625>