ubuntu linux下查看系統占用的情況
king@king-E430:~$ df -lh
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 51G 12G 37G 24% /
udev 2.8G 4.0K 2.8G 1% /dev
tmpfs 1.1G 948K 1.1G 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 2.8G 152K 2.8G 1% /run/shm
none 100M 52K 100M 1% /run/user
king@king-E430:~$ sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x2fbb2fba
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 209717247 104755200 7 HPFS/NTFS/exFAT
/dev/sda3 209717248 419430399 104856576 7 HPFS/NTFS/exFAT
/dev/sda4 419434494 976771071 278668289 f W95 Ext'd (LBA)
/dev/sda5 419434496 629149695 104857600 7 HPFS/NTFS/exFAT
/dev/sda6 629151744 859838463 115343360 7 HPFS/NTFS/exFAT
/dev/sda7 859840512 869838847 4999168 82 Linux swap / Solaris
/dev/sda8 869840896 976771071 53465088 83 Linux