Redhat Linux 查看cpu、memory 等命令
filed in 操作系统 on Nov.07, 2008, by javafuns
查看系统内核版本:
# 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] <username>


