diff options
author | Costa Tsaousis <costa@tsaousis.gr> | 2016-06-09 01:43:23 +0300 |
---|---|---|
committer | Costa Tsaousis <costa@tsaousis.gr> | 2016-06-09 01:43:23 +0300 |
commit | 32ef889745cc281ffb96d56f384bdee1e598b64d (patch) | |
tree | 4be2872a55361eee35747cad705da7d51cab9148 /charts.d | |
parent | a5ec799ad4a11b983b8436a84c954b905530fa7f (diff) | |
parent | a8affe1b5c3aaa1337c4d9a906366a7dd7051634 (diff) |
Merge pull request #521 from ktsaou/master
dashboard improvements and cpufreq optimization
Diffstat (limited to 'charts.d')
-rwxr-xr-x | charts.d/cpufreq.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/cpufreq.chart.sh b/charts.d/cpufreq.chart.sh index 008ffe1d70..7dd994e252 100755 --- a/charts.d/cpufreq.chart.sh +++ b/charts.d/cpufreq.chart.sh @@ -54,7 +54,7 @@ cpufreq_create() { echo >&2 "charts.d: cpufreq: on file='$file', dir='$dir', cpu='$cpu', id='$id'" echo "DIMENSION $id '$id' absolute 1 1000" - echo >>$TMP_DIR/cpufreq.sh "printf \"SET $id = \"; cat $file " + echo >>$TMP_DIR/cpufreq.sh "echo \"SET $id = \"\$(< $file )" done echo >>$TMP_DIR/cpufreq.sh "echo END" |