Your location home page linux

Common script commands for VPS evaluation

One key test script for VPS backhaul routing

 wget - qO - git . io / besttrace | bash

LemonBench comprehensive performance test tool script

Quick test

 yum - y install wget wget - O - https : //ilemonra.in/LemonBenchIntl | bash -s fast
 #Or apt - get install curl curl - fsL https : //ilemonra.in/LemonBenchIntl | bash -s fast

 #Zhu Chunshu's blog for backup yum - y install wget wget - qO - https : //downloads.zhuchunshu.com/LemonBenchIntl.sh | bash -s fast

Complete test

 yum - y install wget wget - O - https : //ilemonra.in/LemonBenchIntl | bash -s full
 #Or apt - get install curl curl - fsL https : //ilemonra.in/LemonBenchIntl | bash -s full

 #Zhu Chunshu's blog for backup yum - y install wget wget - qO - https : //downloads.zhuchunshu.com/LemonBenchIntl.sh | bash -s full

SuperBench

 wget - qO - git . io / superbench . sh | bash

Method of using parameters:

 wget - qO - git . io / superbench . sh | bash - s info wget - qO - git . io / superbench . sh | bash - s io wget - qO - git . io / superbench . sh | bash - s speed wget - qO - git . io / superbench . sh | bash - s fast wget - qO - git . io / superbench . sh | bash - s share

VPS performance test: CPU physical number, kernel, hyper thread, multi-core

Log in to the VPS interface and execute:

 cat / proc / cpuinfo

View the number of logical CPUs directly

 cat / proc / cpuinfo | grep  physical id   | sort | uniq

View the CPU model directly

 cat / proc / cpuinfo | grep  model name   | sort | uniq

Number of cores per CPU

 cat / proc / cpuinfo | grep  cpu cores   | sort | uniq

Total CPU threads

 cat / proc / cpuinfo | grep  processor 

View the memory information of the purchased VPS host

 cat / proc / meminfo

Memory occupied by Linux

 free  m

To test the performance of VPS host disk IO, you can execute the following two commands

 dd if = /dev/ zero of = test bs = 64k count = 4k oflag = dsync dd if = /dev/ zero of = test bs = 8k count = 256k conv = fdatasync

Generate 1TB large files

 dd if = /dev/ zero of = 1T . img bs = 1G seek = one thousand and twenty-four count = zero

Bs=1G means to read and write 1G data every time, count=0 means to read and write 0 times, seek=1024 means to skip 1024 blocks without writing, the previous block size is 1G, so a total of 1T is skipped!
This is the easiest way to create a large sparse file.

SSD hard disk speed test

 yum install hdparm - y fdisk - l hdparm - t / dev / hda

UnixBench running tool

 wget https : //teddysun.com/wp-content/uploads/unixbench.sh chmod + x unixbench . sh ./ unixbench . sh

 

Superspeed one button speed measurement script

Used for speed measurement server upload/download speed

 bash <( curl - Lso - https : //git.io/superspeed)

1, VPS test

 wget - qO - bench . sh | bash #Test VPS basic information and download speed, from Official website ( https://bench.sh/ )

2. Domestic test

 wget - qO - git . io / superbench . sh | bash #It mainly includes VPS hardware information, domestic node test, telecom, China Unicom, China Mobile, and from Laogui

3. Basic test

 Chinese version: wget - N -- no - check - certificate https : //raw.githubusercontent.com/moranchenxi/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh
 English version: wget - N -- no - check - certificate https : //raw.githubusercontent.com/moranchenxi/ZBench/master/ZBench.sh && bash ZBench.sh
 #Based on superbench script, routing and ping tests are added to distinguish between Chinese and English

4. Network speed test

 wget https : //raw.githubusercontent.com/oooldking/scr ip t/master/superspeed.sh && chmod +x superspeed.sh && ./superspeed.sh
 #It mainly includes special tests on some domestic nodes, such as China Telecom, China Unicom and China Mobile

5. Ping test

 wget - N -- no - check - certificate https : //raw.githubusercontent.com/FunctionClub/uPing/master/uping.py python uping . py #A long ping test py script

6. html5 Internet speed program

 https : //github.com/adolfintel/speedtest
 #PHP environment is required. After downloading, unzip it to run without installing

7. Ruisu/BBR integrated one button package

 wget - N -- no - check - certificate " https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh "  && chmod + x tcp . sh &&  ./ tcp . sh #One click installation of Ruisu/bbr, magic modification, etc., supports uninstallation, upgrade, and other operations.

8. Sharp one button package

 wget - N -- no - check - certificate https : //github.com/91yun/serverspeeder/raw/master/serverspeeder.sh && bash serverspeeder.sh
 #One click installation of the full function version of Sharp Cracking, which does not support the openvz architecture, from 91yun( https://www.91yun.co/archives/683 

9. Google BBR one click script

 wget -- no - check - certificate https : //github.com/teddysun/across/raw/master/bbr.sh&& chmod + x bbr.sh && ./ bbr.sh
 #One click installation and start of bbr function, a TCP congestion algorithm produced by Google, does not support openvz virtual architecture.

10. Sharp one button package

 wget -- no - check - certificate - O appex . sh https : //raw.githubusercontent.com/0oVicero0/serverSpeeder_Install/master/appex.sh && chmod +x appex.sh && bash appex.sh install
 #Another fan developed the Ruisu one button installation script, which developed: https://github.com/0oVicero0/serverSpeeder_Install (It's from the Cute Card Boss.)

11. FS one key package

 wget - N -- no - check - certificate https : //raw.githubusercontent.com/91yun/finalspeed/master/install_fs.sh && bash install_fs.sh
 #One click installation of finalspeed function, supporting the whole system architecture

12, Automatic backup script

 wget - N -- no - check - certificate https : //raw.githubusercontent.com/Himly/vps-shell/master/AutoBackupToFtp.sh chmod + x AutoBackupToFtp . sh bash AutoBackupToFtp . sh #Every day Automatic backup MY SQL And packaging website directory

13. VPS running test

 wget -- no - check - certificate https : //github.com/teddysun/across/raw/master/unixbench.sh chmod + x unixbench . sh ./ unixbench . sh #Unixbench runs a score test, with different scores for single core and multi-core

14. Linux test script

 apt install curl - y yum install curl - y curl - fsSL https : //ilemonrain.com/download/shell/LemonBench.sh | bash -s fast

15. Laogui Linux test script

 wget - qO - git . io / superbench . sh | bash

  You spent a total of:

About the author: Big Cousin YJ

Popular articles

Post reply

Your email address will not be disclosed. Required items have been used * tagging