Révision ceb3af8e
added graph_cale no, and improved info text
| plugins/other/cpuspeed_sane | ||
|---|---|---|
| 32 | 32 |
echo 'graph_args --base 1000 -l 0' |
| 33 | 33 |
echo 'graph_vlabel speed in MHz' |
| 34 | 34 |
echo 'graph_category system' |
| 35 |
echo 'graph_info This graph shows CPU speed.' |
|
| 35 |
echo 'graph_scale no' |
|
| 36 |
echo 'graph_info Current CPU speed in MHz. Available levels for the CPU:' `$sysctl -n dev.cpu.0.freq_levels|sed 's!/[0-9]*!!g;s! !, !g'` 'MHz' |
|
| 36 | 37 |
|
| 37 | 38 |
echo cpu0.label cpu0 |
| 38 |
echo cpu0.info CPU0 Speed
|
|
| 39 |
echo cpu0.info `$sysctl -n hw.model` Speed
|
|
| 39 | 40 |
|
| 40 | 41 |
exit 0 |
| 41 | 42 |
fi |
Formats disponibles : Unified diff