summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 00e26a8)
raw | patch | inline | side by side (parent: 00e26a8)
author | Florian Forster <octo@huhu.verplant.org> | |
Sat, 19 May 2007 10:06:35 +0000 (12:06 +0200) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 19 May 2007 10:06:35 +0000 (12:06 +0200) |
contrib/collection.cgi | patch | blob | history |
diff --git a/contrib/collection.cgi b/contrib/collection.cgi
index 25f1d8f5c1c813f668c33f16769067b297c35e23..155653ddd9e6356ace82863f8fceb5f7d52b59bd 100755 (executable)
--- a/contrib/collection.cgi
+++ b/contrib/collection.cgi
'GPRINT:max:MAX:%4.0lfbit Max,',
'GPRINT:avg:LAST:%4.0lfbit Last\l'
],
- fanspeed => [
- 'DEF:temp_avg={file}:value:AVERAGE',
- 'DEF:temp_min={file}:value:MIN',
- 'DEF:temp_max={file}:value:MAX',
- "AREA:temp_max#$HalfMagenta",
- "AREA:temp_min#$Canvas",
- "LINE1:temp_avg#$FullMagenta:RPM",
- 'GPRINT:temp_min:MIN:%4.1lf Min,',
- 'GPRINT:temp_avg:AVERAGE:%4.1lf Avg,',
- 'GPRINT:temp_max:MAX:%4.1lf Max,',
- 'GPRINT:temp_avg:LAST:%4.1lf Last\l'
+ fanspeed => ['-v', 'RPM',
+ 'DEF:avg={file}:value:AVERAGE',
+ 'DEF:min={file}:value:MIN',
+ 'DEF:max={file}:value:MAX',
+ "AREA:max#$HalfMagenta",
+ "AREA:min#$Canvas",
+ "LINE1:avg#$FullMagenta:RPM",
+ 'GPRINT:min:MIN:%4.1lf Min,',
+ 'GPRINT:avg:AVERAGE:%4.1lf Avg,',
+ 'GPRINT:max:MAX:%4.1lf Max,',
+ 'GPRINT:avg:LAST:%4.1lf Last\l'
+ ],
+ frequency => ['-v', 'Hertz',
+ 'DEF:avg={file}:frequency:AVERAGE',
+ 'DEF:min={file}:frequency:MIN',
+ 'DEF:max={file}:frequency:MAX',
+ "AREA:max#$HalfBlue",
+ "AREA:min#$Canvas",
+ "LINE1:avg#$FullBlue:Frequency [Hz]",
+ 'GPRINT:min:MIN:%4.1lf Min,',
+ 'GPRINT:avg:AVERAGE:%4.1lf Avg,',
+ 'GPRINT:max:MAX:%4.1lf Max,',
+ 'GPRINT:avg:LAST:%4.1lf Last\l'
],
frequency_offset => [ # NTPd
'DEF:ppm_avg={file}:ppm:AVERAGE',
'GPRINT:rbyte_max:MAX:%5.1lf%s Max,',
'GPRINT:rbyte_avg:LAST:%5.1lf%s Last\l'
],
- percent => [
+ percent => ['-v', 'Percent',
'DEF:avg={file}:percent:AVERAGE',
'DEF:min={file}:percent:MIN',
'DEF:max={file}:percent:MAX',
'GPRINT:used_max:MAX:%5.1lf%s Max,',
'GPRINT:used_avg:LAST:%5.1lf%s Last\l'
],
- temperature => [
+ temperature => ['-v', 'Celsius',
'DEF:temp_avg={file}:value:AVERAGE',
'DEF:temp_min={file}:value:MIN',
'DEF:temp_max={file}:value:MAX',
'GPRINT:users_max:MAX:%4.1lf Max,',
'GPRINT:users_avg:LAST:%4.1lf Last\l'
],
- voltage => [
+ voltage => ['-v', 'Voltage',
'DEF:avg={file}:value:AVERAGE',
'DEF:min={file}:value:MIN',
'DEF:max={file}:value:MAX',