I usually want to create a website, buy a VPS, and start to use it. A simple command test can help me better understand the VPS. Below are some common commands:
I. View CPU information and performance
First, run the command to obtain your CPU information. You can also install the environment and upload the probe to the probe. The probe contains more details.
Cat/proc/cpuinfo
For specific CPU performance query, you can go to www.anandtech.com/bench?www.cpubenchmark.net.
Ii. Hard Disk I/O performance
Dd if =/dev/zero of = test bs = 64 k count = 4 k oflag = dsync
In general, the higher the better, the less than 10 m is basically not very good.
Iii. Network Performance
Wget http://cachefly.cachefly.net/100mb.test
After downloading, you can get an average download speed. If it is about 10 Mb/s, it is generally MB. If it can reach 50 +, it should be a G port.
Iv. Comprehensive Performance of UB running points
A foreign linux performance-specific software that allows you to run out of scores for comparison:
Wget http://www.CTOHome.com/linux-vps-pack/unixbench.sh;sh./unixstrap. sh;
The total score is lower than 400, even if the performance is low; 1000-is a normal VPS level; if the performance exceeds, the performance is powerful.
V. VPS access speed
This test mainly tests the PING value and the viewing TRACERT value to determine the speed. About these websites:
Webmaster site: ping.chinaz.com-ping.chinaz.com/tracert
Card Network: www.webkaka.com/ping.aspx-www.webkaka.com/Tracert.aspx
Foreign: www.just-ping.com software: speedtest.net/mini.php
Finally, after the hard disk performance and network performance tests, there will be two more files on the disk. You can run the following command to delete the files:
Rm test rm100mb. test