Date: Tue, 9 Sep 2003 13:32:58 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Dag-Erling Smorgrav <des@des.no> Cc: current@freebsd.org Subject: Re: weird text size Message-ID: <20030909183258.GU48339@dan.emsphone.com> In-Reply-To: <xzpk78i74xy.fsf@dwp.des.no> References: <xzpk78i74xy.fsf@dwp.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 09), Dag-Erling Smorgrav said:
> root@dwp /home/des# ps -opid,vsize,tsiz,command -p$$
> PID VSZ TSIZ COMMAND
> 4712 2380 4 zsh
>
> How can the text size for zsh be only 4 kB?
Easy:
# ls -l =zsh
-r-xr-xr-x 2 root wheel 2496 Aug 15 00:05 /usr/local/bin/zsh*
# ldd =zsh
/usr/local/bin/zsh:
libzsh-4.0.7.so => /usr/local/lib/zsh/libzsh-4.0.7.so (0x28064000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x280de000)
libm.so.2 => /usr/lib/libm.so.2 (0x2811d000)
libc.so.4 => /usr/lib/libc.so.4 (0x28138000)
I don't really know why they did it that way, but there you go.
--
Dan Nelson
dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030909183258.GU48339>
