Command for viewing CPU, memory, and hard disk information in Linux

Source: Internet
Author: User


In the Linux desktop version, it is really convenient to view these things and you can use them with graphical tools. However, there is no graphical interface to operate on Linux server or remote ssh connection. If we need to understand this information, we can only rely on commands in Linux. In this article, I will introduce the commands for viewing CPU information, memory information, hard disk partition, and hard disk model information. Www.2cto.com (1) view the CPU information. Use the following command to view the CPU details. Generally, a multi-core CPU, a CPU supporting hyper-threading, or multiple physical CPUs will display the corresponding number of items. For example, a dual-core CPU will display two CPU information items, and a dual-core hyper-threading CPU will display four CPU information items. Although the number of items is large, the basic information is the same. # Cat/proc/cpuinfo (2) view the memory information corresponding to the CPU information. The command to view the memory information is: # cat/proc/meminfo (3) run the following command to view the hard disk partition information: # df-lh www.2cto.com (4) to view the hard disk model information, you can use the following command to display the number of physical disks and corresponding interfaces, as well as the specific hard disk model information: # For more information about cat/proc/scsi, refer to related articles on the network. These commands are common in all Linux systems. Author forxinyang

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.