Renaming nench to snench
This commit is contained in:
parent
7a061485ba
commit
637546a087
|
@ -1 +0,0 @@
|
||||||
nench.sh
|
|
BIN
ioping.static
BIN
ioping.static
Binary file not shown.
|
@ -1,18 +1,31 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
#########################################################################################################################################################################
|
||||||
##########
|
# #
|
||||||
# nench.sh ("new bench.sh")
|
# 88 #
|
||||||
# =========================
|
# 88 #
|
||||||
# current version at https://github.com/n-st/nench
|
# 88 #
|
||||||
# - loosely based on the established freevps.us/bench.sh
|
# ,adPPYba, 8b,dPPYba, ,adPPYba, 88 ,adPPYba, ,adPPYba, 88,dPYba,,adPYba, #
|
||||||
# - includes CPU and ioping measurements
|
# I8[ "" 88P' `"8a a8P_____88 88 a8" "" a8" "8a 88P' "88" "8a #
|
||||||
# - reduced number of speedtests (9 x 100 MB), while retaining useful European
|
# `"Y8ba, 88 88 8PP""""""" 88 8b 8b d8 88 88 88 #
|
||||||
# and North American POPs
|
# aa ]8I 88 88 "8b, ,aa 88 888 "8a, ,aa "8a, ,a8" 88 88 88 #
|
||||||
# - runs IPv6 speedtest by default (if the server has IPv6 connectivity)
|
# `"YbbdP"' 88 88 `"Ybbd8"' 88 888 `"Ybbd8"' `"YbbdP"' 88 88 88 #
|
||||||
# Run using `curl -s bench.wget.racing | bash`
|
# #
|
||||||
# or `wget -qO- bench.wget.racing | bash`
|
# #
|
||||||
# - list of possibly required packages: curl,gawk,coreutils,util-linux,procps,ioping
|
#########################################################################################################################################################################
|
||||||
##########
|
# #
|
||||||
|
# Author: Snel.com - Yavuz Aydin #
|
||||||
|
# E-mail: support@snel.com #
|
||||||
|
# (c) Snel.com - all rights reserved #
|
||||||
|
# #
|
||||||
|
#########################################################################################################################################################################
|
||||||
|
# #
|
||||||
|
# Script: snench.sh #
|
||||||
|
# License: This file is licensed under the Apache License, Version 2.0 #
|
||||||
|
# Purpose: Easy and fast benchmarks! #
|
||||||
|
# Current version: https://git.snel.com/snelcom/snench #
|
||||||
|
# Usage: bash <(curl -s https://git.snel.com/snelcom/snench/raw/branch/master/snench.sh || wget -qO- https://git.snel.com/snelcom/snench/raw/branch/master/snench.sh) #
|
||||||
|
# #
|
||||||
|
#########################################################################################################################################################################
|
||||||
|
|
||||||
command_exists()
|
command_exists()
|
||||||
{
|
{
|
||||||
|
@ -127,7 +140,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf '%s\n' '-------------------------------------------------'
|
printf '%s\n' '-------------------------------------------------'
|
||||||
printf ' nench.sh v2019.07.20 -- https://git.io/nench.sh\n'
|
printf ' snench.sh v2021.04.15 -- https://git.snel.com/snelcom/snench\n'
|
||||||
date -u '+ benchmark timestamp: %F %T UTC'
|
date -u '+ benchmark timestamp: %F %T UTC'
|
||||||
printf '%s\n' '-------------------------------------------------'
|
printf '%s\n' '-------------------------------------------------'
|
||||||
|
|
||||||
|
@ -135,7 +148,7 @@ printf '\n'
|
||||||
|
|
||||||
if ! command_exists ioping
|
if ! command_exists ioping
|
||||||
then
|
then
|
||||||
curl -s --max-time 10 -o ioping.static http://wget.racing/ioping.static
|
curl -s https://git.snel.com/snelcom/snench/raw/branch/master/ioping.static || wget -qO- https://git.snel.com/snelcom/snench/raw/branch/master/ioping.static
|
||||||
chmod +x ioping.static
|
chmod +x ioping.static
|
||||||
ioping_cmd="./ioping.static"
|
ioping_cmd="./ioping.static"
|
||||||
else
|
else
|
Loading…
Reference in New Issue