...
|
...
|
@@ -24,8 +24,8 @@ function exeInfluxdb(){ |
|
|
function uploadLoadInfo(){
|
|
|
v1=$(cat ${GOR_LOG_PATH} | grep output_http | tail -n 1 | awk -F ',' '{print $2}')
|
|
|
v2=$(cat ${GOR_LOG_PATH} | grep output_http | tail -n 1 | awk -F ',' '{print $5}')
|
|
|
exeInfluxdbStr="${IP}.${TC_NAME}.ok.count value=${v1}
|
|
|
${IP}.${TC_NAME}.ok.pct90 value=${v2}"
|
|
|
exeInfluxdbStr="${IP}.${TC_NAME}.ok.count value=${v2}
|
|
|
${IP}.${TC_NAME}.ok.pct90 value=${v1}"
|
|
|
exeInfluxdb "$exeInfluxdbStr"
|
|
|
}
|
|
|
|
...
|
...
|
|