mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-11-10 10:05:18 +00:00
Update Nlbench.sh
This commit is contained in:
parent
f3d7173f7e
commit
3b1ba27c59
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# 定义版本
|
# 定义版本
|
||||||
VERSION="2024-07-18 v1.0.6" # 最新版本号
|
SCRIPTS_VERSION="2024-07-18 v1.0.4" # 最新版本号
|
||||||
|
|
||||||
# 定义颜色
|
# 定义颜色
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
@ -216,9 +216,6 @@ sum_run_times() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# 调用函数获取统计数据
|
|
||||||
sum_run_times
|
|
||||||
|
|
||||||
# 执行单个脚本并输出结果到文件
|
# 执行单个脚本并输出结果到文件
|
||||||
run_script() {
|
run_script() {
|
||||||
local script_number=$1
|
local script_number=$1
|
||||||
@ -465,7 +462,7 @@ show_welcome() {
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e "${RED}---------------------------------By'Jensfrank---------------------------------${NC}"
|
echo -e "${RED}---------------------------------By'Jensfrank---------------------------------${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
echo -e "${GREEN}Nodeloc聚合测试脚本 $VERSION${NC}"
|
echo -e "${GREEN}Nodeloc聚合测试脚本 $SCRIPTS_VERSION ${NC}"
|
||||||
echo -e "${GREEN}GitHub地址: https://github.com/everett7623/nodeloc_vps_test${NC}"
|
echo -e "${GREEN}GitHub地址: https://github.com/everett7623/nodeloc_vps_test${NC}"
|
||||||
echo -e "${GREEN}VPS选购: https://www.nodeloc.com/vps${NC}"
|
echo -e "${GREEN}VPS选购: https://www.nodeloc.com/vps${NC}"
|
||||||
echo ""
|
echo ""
|
||||||
@ -492,7 +489,7 @@ main() {
|
|||||||
# 检查并安装依赖
|
# 检查并安装依赖
|
||||||
install_dependencies
|
install_dependencies
|
||||||
|
|
||||||
# 获取统计数据
|
# 调用函数获取统计数据
|
||||||
sum_run_times
|
sum_run_times
|
||||||
|
|
||||||
# 主循环
|
# 主循环
|
||||||
|
Loading…
Reference in New Issue
Block a user