hpux 下查看内存的的大小的几种方法:
# /opt/ignite/binpa/print_manifest|grep Memory
NOTE: Could not read the /etc/resolv.conf file.
Main Memory: 1024 MB
# /opt/ignite/binpa/print_manifest|grep Memory|awk '{print $3}'
NOTE: Could not read the /etc/resolv.conf file.
1024
#
安腾主机用machinfo
machinfo | grep Memory
# echo "selall;info;wait;infolog;view;done" | /usr/sbin/cstm | grep "Total Configured Memory"
Total Configured Memory : 1024 MB
#
# echo `dmesg |grep Physical|awk '{print $2}'`/1024|bc
1024
#