How CentOS can view system Information

Source: Internet
Author: User

First, view the system version and core version
    1. 1

      Log in to CentOS and start the terminal.

    2. 2

      Login to the root account and enter Cat/etc/redhat-release to display the system version.

    3. 3

      Enter Uname-r to query the kernel version.

      END
Second, view the usage of each partition
    1. 1

      Enter Df-h to view the usage of each partition. Where the contents of the columns from left to right are:

      File system, total size, used size, remaining size, usage, mount point.

    2. 2

      Enter Du-sh to view the space occupied by the current folder. Its function is equivalent to DU. -sh. When you enter the DU directory name-sh, you can see the size of the specified directory.

      END
Third, view the installed package
    1. Enter Cat-n/root/install.log to display a list of packages installed when the system is installed.

    2. Of course, you can also use the More/root/install.log split screen view.

    3. Enter Rpm-qa, and you can see which packages have been installed so far.

How CentOS can view system 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.