More /proc/cpuinfo
More /proc/meminfo
More /proc/*info
LSPCI View motherboard information, etc.
Cat/proc/cpuinfo CPU Information
Cat/proc/meminfo Memory Information
Ubuntu View disk space size command df-h DF command is a Linux system to view the file system as a disk partition, you can add parameters to view the disk remaining space information, command format: DF-HL display format: File system capacity is used available% mount point Filesystem Si Ze used Avail use% mounted on/dev/hda2 45G 19G 24G 44%//dev/hda1 494
Df-h
The DF command is a Linux system that views the file system as a disk partition, which can be added with parameters to view the disk's remaining space information, command format:
Df-hl
The display format is:
File system capacity has been used with available% mount points
Filesystem Size used Avail use% mounted on
/dev/hda2 45G 19G 24G 44%/
/DEV/HDA1 494M 19M 450M 4%/boot
/dev/hda6 4.9G 2.2G 2.5G 47%/Home
/dev/hda5 9.7G 2.9G 6.4G 31%/opt
None 1009M 0 1009M 0%/dev/shm
/dev/hda3 9.7G 7.2G 2.1G 78%/usr/local
/DEV/HDB2 75G 75G 0 100%/
/DEV/HDB2 75G 75G 0 100%/
With the above output as an example, the meaning of the expression is:
The second hard drive interface (b), the second partition (2), the capacity is 75G, with 75G, usable is 0, so the utilization is 100%, is mounted to the root partition directory (/).
The following is an explanation of the relevant commands:
DF-HL Viewing disk space remaining
Df-h viewing the partition size for each root path
Du-sh [directory Name] Returns the size of the directory
DU-SM [Folder] Returns the total number of M in this folder
More functions you can enter the command to view:
DF--help
Du--help
View Linux Hardware Information