Developer_HZH

Check v2 Bandwidth
You know what to do:)
扫描右侧二维码阅读全文
30
2019/05

Check v2 Bandwidth

You know what to do:)

#!/bin/bash
Server="127.0.0.1:8080"

Parameter="\"user>>>${1}@v2ray.com>>>traffic>>>${2}link\""
Parameter="api --server=\"${Server}\" StatsService.GetStats 'name: ${Parameter} reset: false'"
Bytes=`echo ${Parameter} | xargs /usr/bin/v2ray/v2ctl | grep value | cut -d' ' -f 4`
numfmt --to=iec-i --suffix=B ${Bytes}
Last modification:May 30th, 2019 at 12:30 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment