Redhat Linux 查看cpu、memory 等命令

查看系统内核版本:

# 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>

By javafuns on November 7, 2008 at 03:06 · Views: 6,907 · Permalink
Categorized in: Operation Systems · Tagged with: 
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave a Reply


  • Highest Rated

  • My PicasaPhotos

    IMG_0687.JPG

    IMG_0630.JPG

    IMG_1171.JPG

  • RSS My del.icio.us

  • My RSS