查看redhat的release版本
#more /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#more /etc/issue
#more /proc/version
查看CPU信息
#grep "model name" /proc/cpuinfo
#more /proc/cpuinfo
查看CPU位数(32 or 64)
#getconf LONG_BIT
查看内存信息
#more /proc/meminfo
#grep MemTotal /proc/meminfo
查看libc、gcc版本
#ldd /sbin/mii-tool
#rpm -qa | grep glibc
#gcc –v
阅读(1567) | 评论(1) | 转发(0) |