Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
fix: latency under load now in sequence with speedtests
Browse files Browse the repository at this point in the history
  • Loading branch information
ggmartins committed Apr 24, 2021
1 parent dadaefd commit 0fc31e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/init.d/nm-exp-active-netrics
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ start_nma() {
IPERF_TIME=$(( ${GETTIME} + 1 ))
SPEEDTEST_TIME=$(( ${IPERF_TIME} + 10 ))

echo "*/5 * * * * netrics /usr/local/bin/netrics -p -n -d -t -b -l ${upload} >>${log} 2>&1" > /etc/cron.d/cron-nm-exp-active-netrics
echo "${SPEEDTEST_TIME} * * * * netrics /usr/local/bin/netrics -s ${upload} >>${log} 2>&1" >> /etc/cron.d/cron-nm-exp-active-netrics
echo "*/5 * * * * netrics /usr/local/bin/netrics -p -n -d -t -b ${upload} >>${log} 2>&1" > /etc/cron.d/cron-nm-exp-active-netrics
echo "${SPEEDTEST_TIME} * * * * netrics /usr/local/bin/netrics -s -l ${upload} >>${log} 2>&1" >> /etc/cron.d/cron-nm-exp-active-netrics
echo "${IPERF_TIME} * * * * netrics /usr/local/bin/netrics -i ${upload} >${log} 2>&1" >> /etc/cron.d/cron-nm-exp-active-netrics
}

Expand Down

0 comments on commit 0fc31e7

Please sign in to comment.