查看服务器系统配置
时间:2015-10-06 22:36 来源:linux.it.net.cn 作者:IT
1
[root@wushuu ~]# uname -a
显示系统名、节点名称、操作系统的发行版号、操作系统版本、运行系统的机器 ID 号
1
Linux wushuu 2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
1
[root@wushuu ~]# fdisk -l
查看系统分区情况
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x780ac896
Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 121602 976248832 8e Linux LVM
Disk /dev/mapper/vg_wushuu-lv_root: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_wushuu-lv_swap: 8388 MB, 8388608000 bytes
255 heads, 63 sectors/track, 1019 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/vg_wushuu-lv_home: 937.6 GB, 937598910464 bytes
255 heads, 63 sectors/track, 113989 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
1
[root@wushuu ~]# free -m
查看内存的使用情况
1
2
3
4
total used free shared buffers cached
Mem: 32099 1865 30234 0 170 185
-/+ buffers/cache: 1509 30589
Swap: 7999 0 7999
(责任编辑:IT)
显示系统名、节点名称、操作系统的发行版号、操作系统版本、运行系统的机器 ID 号
查看系统分区情况
查看内存的使用情况
(责任编辑:IT) |