下記は、topで表示された状態であるが、注目は"SIZE"。
i386とamd64はこんなにサイズの差があるのだろうか?
32Bit/64Bitの差によるメモリの使い方の違いってことだろうか?
例えば、
csh 7.0-RELEASE i386・・・size:4472K ,7.1-BETA2 amd64・・・size:10100K
実に倍以上もちがう。子持ちの貧乏親父には、”う〜ん・・・”である。
# file `which tcsh`
/bin/tcsh: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for FreeBSD 7.0 (700055), dynamically linked (uses shared libs), FreeBSD-style, stripped
# file `which tcsh`
/bin/tcsh: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), for FreeBSD 7.0 (700112), dynamically linked (uses shared libs), FreeBSD-style, stripped
# uname -rp 7.0-RELEASE i386 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 10686 root 1 20 0 4472K 2472K pause 0:00 0.00% csh 2334 root 1 4 0 8384K 3812K sbwait 0:00 0.00% sshd 1147 smmsp 1 20 0 5848K 3240K pause 0:00 0.00% sendmail 1111 root 1 96 0 4628K 2036K select 0:24 0.00% ntpd 1203 root 1 96 0 3212K 1144K select 0:00 0.00% inetd 1153 root 1 8 0 3184K 1248K nanslp 0:02 0.00% cron 1023 root 1 96 0 3156K 1488K select 0:00 0.00% mountd 956 root 1 96 0 3156K 1204K select 0:01 0.00% syslogd 1227 root 1 5 0 3156K 1068K ttyin 0:00 0.00% getty # uname -rp 7.1-BETA2 amd64 PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1268 root 1 20 0 10100K 2848K pause 0 0:00 0.00% csh 690 root 1 4 0 22908K 3876K select 1 0:00 0.00% sshd 749 root 1 8 0 20440K 1844K wait 0 0:00 0.00% login 1329 root 1 20 0 13192K 6532K pause 0 0:00 0.00% csh 696 root 1 44 0 10696K 3780K select 0 0:01 0.00% sendmail 663 root 1 44 0 10480K 2404K select 0 0:00 0.00% ntpd 727 root 1 4 0 7796K 1340K select 0 0:00 0.00% inetd 706 root 1 8 0 6744K 1440K nanslp 0 0:00 0.00% cron 670 root 1 44 0 5688K 1152K select 0 0:01 0.00% powerd 560 root 1 4 0 5684K 1476K select 0 0:00 0.00% mountd 484 root 1 44 0 5688K 1372K select 1 0:00 0.00% syslogd 751 root 1 5 0 5684K 1228K ttyin 1 0:00 0.00% getty