Handle 0x0040, DMI type 16, 23 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: None Maximum Capacity: 32 GB Error Information Handle: Not Provided Number Of Devices: 4
上述信息中Maximum Capacity: 32 GB表示系统最大支持32GB内存,Number Of Devices: 4表示系统有四个内存插槽。
7.查看系统交换空间的使用情况
1 2 3
$ cat /proc/swaps Filename Type Size Used Priority /dev/sdb1 partition 2000892 0 -1
8.查看系统虚拟内存数据
1 2 3 4
$ sudo vmstat procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 11852376 203272 2081544 0 0 38 56 198 394 8 3 89 0 0
9.查看Linux发行版本及相关信息
1 2 3 4 5 6
$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily
10.查看系统内核版本号
1 2
$ uname -r 4.2.0-34-generic
或者
1 2
$ uname -a Linux Finder 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux