Доброе утро.
Интересует как можно поменять направление движения графика как на ФТТ
то есть чтобы движение было справа налево, а не наоборот (как стандартно)
На сколько знаю дело в этом: Options[_]: bytes,growright
при смене на growrleft - ошибка
#Options[_]: bytes,growright
Conteo писал(а):Почитал бы документацию по нему хоть (которой завались).
Сразу укажу ошибки: опций growleft и bytes нет. Есть bits (отвечает за вывод информации в битах) и growright (чтобы график двигался вправо).
Чтобы он выводил информацию в байтах и двигался влево, надо просто закомментировать строчку
- Код: Выделить всё • Развернуть
#Options[_]: bytes,growright
и дело в шляпе. Советую почитать по нему доки, ибо там немало опций.
Conteo писал(а):Серьезно? На рашене инфы больше, чем достаточно.
coretemp-isa-0000
Adapter: ISA adapter
Core 0: +42.0б╟C (high = +80.0б╟C, crit = +100.0б╟C)
coretemp-isa-0001
Adapter: ISA adapter
Core 1: +42.0б╟C (high = +80.0б╟C, crit = +100.0б╟C)
it8718-isa-0290
Adapter: ISA adapter
in0: +1.12 V (min = +0.00 V, max = +4.08 V)
in1: +1.92 V (min = +0.00 V, max = +4.08 V)
in2: +3.28 V (min = +0.00 V, max = +4.08 V)
in3: +2.96 V (min = +0.00 V, max = +4.08 V)
in4: +3.02 V (min = +0.00 V, max = +4.08 V)
in5: +0.00 V (min = +0.00 V, max = +4.08 V) ALARM
in6: +1.18 V (min = +0.00 V, max = +4.08 V)
in7: +4.08 V (min = +0.00 V, max = +4.08 V) ALARM
Vbat: +3.07 V
fan1: 1622 RPM (min = 0 RPM)
fan2: 712 RPM (min = 0 RPM)
fan3: 1083 RPM (min = 0 RPM)
fan4: 1123 RPM (min = 0 RPM)
temp1: +35.0б╟C (low = +127.0б╟C, high = +127.0б╟C) sensor = thermistor
temp2: -2.0б╟C (low = +127.0б╟C, high = +127.0б╟C) sensor = thermistor
temp3: +31.0б╟C (low = -1.0б╟C, high = +85.0б╟C) sensor = thermal diode
cpu0_vid: +2.050 V
Title[localhost.temp]: Temperature on box
PageTop[localhost.temp]: <H1>Temperature</H1>
Target[localhost.temp]: `/usr/bin/sensors | /usr/bin/awk '/^M\/B Temp:/{ sub(/\+/,"",$3); print $3 }/^CPU Temp:/{ sub(/\+/,"",$3); print $3 }'`
Options[localhost.temp]: noinfo,gauge,growright,integer,nopercent,pngdate,unknaszero
Unscaled[localhost.temp]:dwmy
MaxBytes[localhost.temp]: 80
Kilo[localhost.temp]:1000
YLegend[localhost.temp]: Temperature
ShortLegend[localhost.temp]: C
Legend1[localhost.temp]: M/B Temp
Legend2[localhost.temp]: CPU Temp
LegendI[localhost.temp]: M/B Temp
LegendO[localhost.temp]: CPU Temp
Legend3[localhost.temp]: M/B
Legend4[localhost.temp]: CPU
2010-01-13 20:24:12: WARNING: Could not get any data from external command '/usr/bin/sensors | /usr/bin/awk '/^M \/B Temp:/{ sub(/\+/,"",$3); print $3 }/^CPU Temp:/{ sub(/\+/,"",$3); print $3 }''
Maybe the external command did not even start. (Illegal seek)
2010-01-13 20:24:12: WARNING: Problem with External get '/usr/bin/sensors | /usr/bin/awk '/^M\/B Temp:/{ sub(/\+ /,"",$3); print $3 }/^CPU Temp:/{ sub(/\+/,"",$3); print $3 }'':
Expected a Number for 'in' but nothing'
2010-01-13 20:24:12: WARNING: Problem with External get '/usr/bin/sensors | /usr/bin/awk '/^M\/B Temp:/{ sub(/\+ /,"",$3); print $3 }/^CPU Temp:/{ sub(/\+/,"",$3); print $3 }'':
Expected a Number for 'out' but nothing'
2010-01-13 20:24:12: ERROR: Target[localhost.temp][_IN_] ' $target->[6]{$mode} ' did not eval into defined data
2010-01-13 20:24:12: ERROR: Target[localhost.temp][_OUT_] ' $target->[6]{$mode} ' did not eval into defined data
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt
Target[localhost.cpu]:ssCpuRawUser.0&ssCpuRawUser.0:public@localhost+ ssCpuRawSystem.0&ssCpuRawSystem.0:public@localhost+ ssCpuRawNice.0&ssCpuRawNice.0:public@localhost
RouterUptime[localhost.cpu]: public@localhost
MaxBytes[localhost.cpu]: 100
Title[localhost.cpu]: CPU Load
PageTop[localhost.cpu]: <H1>Active CPU Load %</H1>
Unscaled[localhost.cpu]: ymwd
ShortLegend[localhost.cpu]: %
YLegend[localhost.cpu]: CPU Utilization
Legend1[localhost.cpu]: Active CPU in % (Load)
Legend2[localhost.cpu]:
Legend3[localhost.cpu]:
Legend4[localhost.cpu]:
LegendI[localhost.cpu]: Active
LegendO[localhost.cpu]:
Options[localhost.cpu]: growright,nopercent,unknaszero,pngdate
Target[localhost.temp]: `/usr/bin/sensors | /usr/bin/awk '/^M\/B Temp:/{ sub(/\+/,"",$3); print $3 }/^CPU Temp:/{ sub(/\+/,"",$3); print $3 }'`
temp1: +35.0б╟C (low = +127.0б╟C, high = +127.0б╟C) sensor = thermistor
Target[localhost.temp]: `/usr/bin/sensors | /usr/bin/awk '/^temp3:/{ sub(/\+/,"",$2); print $2 }/^temp1:/{ sub(/\+/,"",$2); print $2 }'`
Title[corestemper]: Temperature cores
Target[corestemper]: `/usr/bin/sensors | /usr/bin/awk '/^Core 1:/{ sub(/\+/,"",$2); print $2 }/^Core 0:/{ sub(/\+/,"",$2); print $2 }'`
Options[corestemper]: noinfo,gauge,integer,nopercent,pngdate,unknaszero
Unscaled[corestemper]:dwmy
MaxBytes[corestemper]: 80
Kilo[corestemper]:1000
YLegend[corestemper]: Temperature cores
ShortLegend[corestemper]: C
Legend1[corestemper]: Core 1
Legend2[corestemper]: Core 2
LegendI[corestemper]: Core 1
LegendO[corestemper]: Core 2
Legend3[corestemper]: Core 1
Legend4[corestemper]: Core 2
PageTop[corestemper]: <H1>Temperature cores</H1>
Title[corestemper]: Temperature cores
Target[corestemper]: `/usr/bin/sensors | /usr/bin/awk '/^Core 1:/{ sub(/\+/,"",$3); print $3 }/^Core 0:/{ sub(/\+/,"",$3); print $3 }'`
Options[corestemper]: noinfo,gauge,integer,nopercent,pngdate,unknaszero
Unscaled[corestemper]:dwmy
MaxBytes[corestemper]: 80
Kilo[corestemper]:1000
YLegend[corestemper]: Temperature cores
ShortLegend[corestemper]: C
Legend1[corestemper]: Core 1
Legend2[corestemper]: Core 2
LegendI[corestemper]: Core 1
LegendO[corestemper]: Core 2
Legend3[corestemper]: Core 1
Legend4[corestemper]: Core 2
PageTop[corestemper]: <H1>Temperature cores</H1>
Вернуться в Прочие серверы и сетевые технологии
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 10