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