diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2014-06-01 12:52:58 +0300 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2014-06-01 12:52:58 +0300 |
commit | bdf5738fcf96e6ba89ca022594d66d73eefbf91c (patch) | |
tree | d5331eb2bd6d27a39d500e0fde44c37717226512 /charts.d/cpu_apps.chart.sh | |
parent | bf0a2ce9097485e1d970647a5165845a69d56153 (diff) |
report per second incremental values when update frequency is higher than a second
Diffstat (limited to 'charts.d/cpu_apps.chart.sh')
-rwxr-xr-x | charts.d/cpu_apps.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/cpu_apps.chart.sh b/charts.d/cpu_apps.chart.sh index 735ac30b3e..5f36e86582 100755 --- a/charts.d/cpu_apps.chart.sh +++ b/charts.d/cpu_apps.chart.sh @@ -30,7 +30,7 @@ cpu_apps_create() { local x= for x in $cpu_apps_apps do - echo "DIMENSION $x $x incremental 1000 $cpu_apps_clockticks" + echo "DIMENSION $x $x incremental 1000 $((cpu_apps_clockticks * cpu_apps_update_every))" # this string is needed later in the update() function # to finalize the instructions for the bc command |