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:
parent
fe253b1456
commit
ff1c67d59c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue