VPS常用性能测试代码,VPS速度测试代码,VPS一键测试代码(测速代码中文版)

文章导读目录

前言

那么为大家搜寻了几组测试VPS综合性能以及VPS速度测试的几组一键测速脚本,大家可以分别跑一跑,看看自己的VPS到底怎么样!

写在前面的代码

下面的若干测试代码,若是不能运行,提示wget什么的,请安装wget和Curl软件包。不提示请跳过此步骤!
Wget软件包安装(选装)

  1. yum -y install wget ##ContOS Yum 安装 wget
  2. apt-get install wget ##Debian Ubuntu 安装 wget
  1. apt-get update -y && apt-get install curl -y ##Ubuntu/Debian 系统安装 Curl 方法
  2. yum update -y && yum install curl -y ##Centos 系统安装 Curl 方法

VPS速度、性能测试

第一组代码 SuperSpeed

线路速度测试,包含电信、联通、移动等线路一键测速

  1. wget https://v2cross.com/sh/gospeed.sh && chmod +x gospeed.sh && ./gospeed.sh

第二组代码 ZBench

VPS性能综合测试

中文版代码如下

  1. wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench-CN.sh && bash ZBench-CN.sh

英文版代码如下

  1. wget -N --no-check-certificate https://raw.githubusercontent.com/FunctionClub/ZBench/master/ZBench.sh && bash ZBench.sh

第三组代码

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