Metrics bug
pull/98/head
Aidaho12 2018-12-05 04:55:55 +06:00
parent 2fefe88222
commit 810959e382
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ def main(serv, port):
while True:
try:
cmd = "echo show info | nc "+serv+" "+port+" |grep -e 'Curr\|MaxSessRate:\|SessRate:'|awk '{print $2}'"
cmd = "echo show info | nc "+serv+" "+port+" |grep -e 'CurrConns\|CurrSslConns\|MaxSessRate:\|SessRate:'|awk '{print $2}'"
readstats = subprocess.check_output([cmd], shell=True)
except CalledProcessError as e:
print("Command error")