Révision ff1c67d5
| ID | ff1c67d59cc5399484e34a3c501cdfc27c22c3dd |
| Parent | fe253b14 |
| Enfant | bd2944f8, a3d90c8f, 34d10286, d824c769 |
p/cpu_: adding the core Id in the graph titles
| plugins/system/cpu_ | ||
|---|---|---|
| 6 | 6 |
|
| 7 | 7 |
emit_config() |
| 8 | 8 |
{
|
| 9 |
cat <<'EOF'
|
|
| 10 |
graph_title CPU usage |
|
| 9 |
cat <<EOF
|
|
| 10 |
graph_title CPU usage $1
|
|
| 11 | 11 |
graph_order system user nice idle iowait irq softirq |
| 12 | 12 |
graph_vlabel % |
| 13 | 13 |
graph_scale no |
| ... | ... | |
| 72 | 72 |
for cpu in $CPUS |
| 73 | 73 |
do |
| 74 | 74 |
echo multigraph $PLUGINBASE.$cpu |
| 75 |
emit_config |
|
| 75 |
emit_config $cpu
|
|
| 76 | 76 |
done |
| 77 | 77 |
|
| 78 | 78 |
exit 0 |
Formats disponibles : Unified diff