diff --git a/plugins/lxc/lxc-multigraph b/plugins/lxc/lxc-multigraph index 2c699538..f97f925f 100755 --- a/plugins/lxc/lxc-multigraph +++ b/plugins/lxc/lxc-multigraph @@ -171,6 +171,13 @@ lxc_count_processes () { } +# change the first character of a string to upper case +title_case() { + local text="$1" + printf "%s%s" "$(echo "$text" | cut -c 1 | tr "[:lower:]" "[:upper:]")" "$(echo "$text" | cut -c 2-)" +} + + # --- BASIC DEFINES active_guests=$(active_guests "$exclude") @@ -204,7 +211,7 @@ EOF for cpu_usage in user system do cat <