Linux View VPS Host hardware configuration information command

Source: Internet
Author: User
Tags vps
Old left with a lot of novice users, in the choice of Linux VPS host will probably see if the machine is in use and probably Word-of-mouth and price, and then probably compared CPU core, memory, hard disk and traffic in the same knowledge of the business whether there is a certain price advantage. Although often tell oneself a penny a penny, but sometimes still prefer to try to hope that the horse is good also want horses to eat less grass products.
Most users do not have a variety of VPS configuration information and business, line of all kinds of proficiency, like we buy a computer, some hardware configuration we may only know the approximate, specific compatibility and whether it is suitable for us, we may not see from the basic configuration, most of the direct user experience, In particular, the VPS host whether used to build a station or project needs, other people used the evaluation information can not represent also suitable for us, the approximate scope of the self testing after the test is necessary.
A little delve into some of the Linux VPS host configuration information, can not just look at the basic memory, hard disk and traffic, in fact, the deep play of netizens and even hardware information will go to see the contrast, this belongs to fans, we basically just play a general experience on it. In this article, the old left also learn a high-end point, I saw some netizens useful to view the vps/server environment hardware information commands recorded, later may be in the purchase of VPS, servers can also be installed professionals.
First, CPU parameter information
The code is as follows Copy Code
Cat/proc/cpuinfo
Second, free command to view memory
The code is as follows Copy Code
Free-m
Here we can see the current VPS host 512MB memory, with 64MB swap storage.
Third, DF command to view the hard drive
The code is as follows Copy Code
Df-h
This should be compared to our purchase of VPS, the server to give the configuration information, some friends said to buy 30GB, why see is 10GB, and 20GB where to go? There are also the need for us to mount a separate mount to be able to come out, with the fdisk-l can see that there is no Mount 20GB, in this test machine directly in a disk without Mount plate.
IV. Inxi View hardware Information
The code is as follows Copy Code
Inxi-fx
This Inxi tool I also used for the first time, see the introduction is very powerful, you can view all the server hardware information, the general default release version is not installed, here I installed in the Debian environment.
Install Inxi for Debian/ubuntu
The code is as follows Copy Code
Echo ' Deb Http://ppa.launchpad.net/unit193/inxi/ubuntu trusty main ' >/etc/apt/sources.list.d/unit193-inxi.list
Apt-get Update
Apt-get Install Inxi
It is not possible to execute the above command after installation.
Basic hardware information can be seen in the return results, and later have time to play the Inxi tool alone. Today I know this thing simply because I have never played this before.
V, LSHW
The code is as follows Copy Code
Lshw-short
LSHW is also a common tool to view details of the current server's CPU, memory, disk, and so on. The default environment, if not installed, can be installed by executing a command.
The code is as follows Copy Code
Apt-get Install LSHW && lshw
VI, Dmidecode
This command old Zoo a few common scripting methods that are used to view hardware information in the "7 tips for viewing linux server hardware information using the Dmidecode command" article.
For example, the motherboard, memory, and the number of memory lines can be seen by command.
VII, LSCPU
The code is as follows Copy Code
Lscpu
The LSCPU command allows you to see information about the CPU and the processing unit.
To sum up, the above 7 orders are we in the purchase and evaluation of VPS, server information may be used, for the general user with the same old left to see a probably, if need to know in-depth details or need to detail some contrast, there are LSPCI, hdparm Two are also commonly used.

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.