summaryrefslogtreecommitdiffstats
path: root/charts.d/mem_apps.chart.sh
diff options
context:
space:
mode:
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-02-08 01:22:58 +0200
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>2016-02-08 01:22:58 +0200
commit7c0ba6a675cbca3a6fa1a0b79a37259ad4b52aee (patch)
tree8c29ac1d6ef26cffab549f2da21cde1ca12b41f2 /charts.d/mem_apps.chart.sh
parent20051bfef74b701d5e67af84eca8b416bc5f5e2a (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/mem_apps.chart.sh')
-rwxr-xr-xcharts.d/mem_apps.chart.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/charts.d/mem_apps.chart.sh b/charts.d/mem_apps.chart.sh
index d3a786e935..f537ada488 100755
--- a/charts.d/mem_apps.chart.sh
+++ b/charts.d/mem_apps.chart.sh
@@ -25,7 +25,7 @@ mem_apps_bc_finalze=
mem_apps_create() {
- echo "CHART apps.mem '' 'Apps Memory' MB apps apps stacked 20000 $mem_apps_update_every"
+ echo "CHART chartsd_apps.mem '' 'Apps Memory' MB apps apps.mem stacked 20000 $mem_apps_update_every"
local x=
for x in $mem_apps_apps
@@ -44,7 +44,7 @@ mem_apps_update() {
# for each dimension
# remember: KEEP IT SIMPLE AND SHORT
- echo "BEGIN apps.mem"
+ echo "BEGIN chartsd_apps.mem"
ps -o comm,rss -C "$mem_apps_apps" |\
grep -v "^COMMAND" |\
( sed -e "s/ \+/ /g" -e "s/ /+=/g";