weird text size

Dan Nelson dnelson at allantgroup.com
Tue Sep 9 11:33:10 PDT 2003


In the last episode (Sep 09), Dag-Erling Smorgrav said:
> root at 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 at allantgroup.com


More information about the freebsd-current mailing list