[root@wushuu ~]# uname -a
显示系统名、节点名称、操作系统的发行版号、操作系统版本、运行系统的机器 ID 号
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
[root@wushuu ~]# fdisk -l
查看系统分区情况
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes255 heads, 63 sectors/track, 121601 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x780ac896 Device Boot Start End Blocks Id System/dev/sda1 * 1 64 512000 83 LinuxPartition 1 does not end on cylinder boundary./dev/sda2 64 121602 976248832 8e Linux LVMDisk /dev/mapper/vg_wushuu-lv_root: 53.7 GB, 53687091200 bytes255 heads, 63 sectors/track, 6527 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/mapper/vg_wushuu-lv_swap: 8388 MB, 8388608000 bytes255 heads, 63 sectors/track, 1019 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000Disk /dev/mapper/vg_wushuu-lv_home: 937.6 GB, 937598910464 bytes255 heads, 63 sectors/track, 113989 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 4096 bytesI/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk identifier: 0x00000000
[root@wushuu ~]# free -m
查看内存的使用情况
total used free shared buffers cachedMem: 32099 1865 30234 0 170 185-/+ buffers/cache: 1509 30589Swap: 7999 0 7999