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