1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-22 02:51:03 +00:00

p/cpu_: adding the core Id in the graph titles

This commit is contained in:
Steve Schnepp 2014-03-06 15:42:55 +01:00
parent fe253b1456
commit ff1c67d59c

View file

@ -6,8 +6,8 @@ PLUGINBASE=$(basename $0)
emit_config() emit_config()
{ {
cat <<'EOF' cat <<EOF
graph_title CPU usage graph_title CPU usage $1
graph_order system user nice idle iowait irq softirq graph_order system user nice idle iowait irq softirq
graph_vlabel % graph_vlabel %
graph_scale no graph_scale no
@ -72,7 +72,7 @@ then
for cpu in $CPUS for cpu in $CPUS
do do
echo multigraph $PLUGINBASE.$cpu echo multigraph $PLUGINBASE.$cpu
emit_config emit_config $cpu
done done
exit 0 exit 0