1、汇总一

查看系统内核版本:

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

?

2、汇总二

dmidecode|more

Base Board Information
        Manufacturer: ASUSTeK Computer INC.
        Product Name: A8V-MX
        Version: Rev 1.xx

当然,这个命令还可以查看很多其他信息,包括CPU信息,BIOS信息,甚至连主板接口的信息还有我感兴趣的内存条信息都可以看到.

Handle 0x0027, DMI type 17, 27 bytes
Memory Device
??????? Array Handle: 0x0025
??????? Error Information Handle: Not Provided
??????? Total Width: 72 bits
??????? Data Width: 64 bits
??????? Size: 512 MB
??????? Form Factor: DIMM
??????? Set: None
??????? Locator: DIMM0
??????? Bank Locator: BANK0
??????? Type: DDR
??????? Type Detail: Synchronous
??????? Speed: 400 MHz (2.5 ns)
??????? Manufacturer: Manufacturer0
??????? Serial Number: SerNum0
??????? Asset Tag: AssetTagNum0
??????? Part Number: PartNum0

Handle 0x0028, DMI type 20, 19 bytes
Memory Device Mapped Address
??????? Starting Address: 0x00000000000
??????? Ending Address: 0x0001FFFFFFF
??????? Range Size: 512 MB
??????? Physical Device Handle: 0x0027
??????? Memory Array Mapped Address Handle: 0x0026
??????? Partition Row Position: 1