View Linux Hardware Information

Source: Internet
Author: User

  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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.