mirror of
https://github.com/everett7623/nodeloc_vps_test.git
synced 2024-12-28 01:05:19 +00:00
Update Nlbench.sh
This commit is contained in:
parent
0db48526aa
commit
6363011082
@ -78,7 +78,7 @@ detect_region() {
|
|||||||
# 统计使用次数
|
# 统计使用次数
|
||||||
sum_run_times() {
|
sum_run_times() {
|
||||||
local COUNT
|
local COUNT
|
||||||
COUNT=$(wget --no-check-certificate -qO- --tries=2 --timeout=2 "https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/everett7623/nodeloc_vps_test/blob/main/nodeloc_vps_autotest.sh" 2>&1 | grep -m1 -oE "[0-9]+[ ]+/[ ]+[0-9]+")
|
COUNT=$(wget --no-check-certificate -qO- --tries=2 --timeout=2 "https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https://github.com/everett7623/nodeloc_vps_test/edit/main/Nlbench.sh" 2>&1 | grep -m1 -oE "[0-9]+[ ]+/[ ]+[0-9]+")
|
||||||
if [[ -n "$COUNT" ]]; then
|
if [[ -n "$COUNT" ]]; then
|
||||||
daily_count=$(cut -d " " -f1 <<< "$COUNT")
|
daily_count=$(cut -d " " -f1 <<< "$COUNT")
|
||||||
total_count=$(cut -d " " -f3 <<< "$COUNT")
|
total_count=$(cut -d " " -f3 <<< "$COUNT")
|
||||||
|
Loading…
Reference in New Issue
Block a user