分类: LINUX
2012-10-23 19:21:18
# uname -a
查看系统版本:
# more /etc/redhat-release
查看内核版本gcc版本
# more /proc/version
查看cpu 信息# grep “model name” /proc/cpuinfo
# more /proc/cpuinfo
查看cpu 的位数# getconf LONG_BIT
查看内存信息
# more /proc/meminfo
查看系统资源使用情况
“vmstat reports information about processes, memory, paging, block IO, traps, and cpu activity.
#vmstat 5
“display Linux tasks
#top“Display amount of free and used memory in the system
#free查看磁盘i/o
“用iostat查看磁盘/dev/sdc3的磁盘i/o情况,每两秒刷新一次
$ iostat -d -x /dev/sdc3 2
查看用户磁盘限额
quota [-u]