Go Linux view CPU, hard disk, memory size

Source: Internet
Author: User

 Classification:Linux (+)

In the desktop version of Linux, it is really convenient to look at these things, and there are graphical tools available. However, on the Linux server version, or remote SSH connection, there is no graphical interface can be manipulated. At this point, if we need to understand this information, we can only rely on the Linux command.

In this article, I'll look at commands for viewing CPU information, memory information, hard disk partitioning, and hard drive model information.

(a) View CPU information

Using the instructions below, you can see the details of the CPU. In general, multicore CPUs, or CPUs that support hyper-threading, or multiple CPUs on a physical scale, show the corresponding number of bars. For example, a dual-core CPU will display 2 CPU information, and a dual-core hyper-threaded CPU will display 4 CPU information. Although the number of bars is many, the basic information is the same.

#cat/proc/cpuinfo

(ii) View memory information

The command to view the memory information corresponding to the view CPU information is:

#cat/proc/meminfo

(iii) View hard disk partition information

With the following command, you can see the partition information for the current hard disk, the size of the capacity, the space used and the amount of space left, and the mount points for each partition:

#df-LH

(d) View the model information of the hard drive

You can use the following command to display the number of physical hard disks and the corresponding interface, as well as the specific model information of the hard disk:

#cat/PROC/SCSI/SCSI

The detailed explanation of the above information, can refer to the relevant articles on the network, here is no longer described in detail. These directives are common to all Linux.

Original address: http://blog.renhao.org/2010/06/linux-view-cpu-ram-hdd-info/

Also refer to: http://www.cnblogs.com/shyue/archive/2011/10/27/2226942.html

Go Linux view CPU, hard disk, memory size

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.