diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-02-08 01:22:58 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2016-02-08 01:22:58 +0200 |
commit | 7c0ba6a675cbca3a6fa1a0b79a37259ad4b52aee (patch) | |
tree | 8c29ac1d6ef26cffab549f2da21cde1ca12b41f2 /charts.d/cpu_apps.chart.sh | |
parent | 20051bfef74b701d5e67af84eca8b416bc5f5e2a (diff) |
added a new element on all charts: context, which is the template upon the chart is build, changed the meaning of element: family, which now reflects the submenu of the dashboard; changed the priorities of most charts to allow the dashboard have dynamic sorting; added submenus to most categories of the main menu; now the dashboard is completely dynamic (except the top key charts)
Diffstat (limited to 'charts.d/cpu_apps.chart.sh')
-rwxr-xr-x | charts.d/cpu_apps.chart.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/charts.d/cpu_apps.chart.sh b/charts.d/cpu_apps.chart.sh index 879cbbddd3..5a25163e13 100755 --- a/charts.d/cpu_apps.chart.sh +++ b/charts.d/cpu_apps.chart.sh @@ -29,7 +29,7 @@ cpu_apps_bc_finalze= cpu_apps_create() { - echo "CHART apps.cpu '' 'Apps CPU' 'milliseconds / $cpu_apps_update_every sec' apps apps stacked 20001 $cpu_apps_update_every" + echo "CHART chartsd_apps.cpu '' 'Apps CPU' 'milliseconds / $cpu_apps_update_every sec' apps apps stacked 20001 $cpu_apps_update_every" local x= for x in $cpu_apps_apps @@ -48,7 +48,7 @@ cpu_apps_update() { # for each dimension # remember: KEEP IT SIMPLE AND SHORT - echo "BEGIN apps.cpu" + echo "BEGIN chartsd_apps.cpu" ps -o pid,comm -C "$cpu_apps_apps" |\ grep -v "COMMAND" |\ ( |