Sysinfo-plugin
free ringtones levitra but norco buy lorazepam cheap diazepam free ringtones lorazepam online adipex online vicodin online cheap viagra buy phentermine paxil online cheap wellbutrin free ringtones buy levitra cheap ultram cheap tramadol cheap ativan cheap ultracet meridia online free free ringtones paxil online free mtv ringtones diazepam didrex free nokia ringtones music ringtones free mp3 ringtones free mp3 ringtones samsung ringtones lipitor sonyericsson ringtones cheap ativan cialis online cheap vicodin norco online cheap cialis cheap levitra buy norco didrex online funny ringtones hydrocodone online cheap alprazolam cheap hydrocodone nextel ringtones funny ringtones cheap cialis free sprint ringtones ativan online cheap ativan cheap xanax free sony ericsson ringtones cheap viagra cheap diazepam fioricet online funny ringtones cheap didrex free tracfone ringtones nokia ringtones norco online carisoprodol online nokia ringtones ultram online free free ringtones paxil online free sagem ringtones paxil online propecia online buy ambien cheap ultram diazepam online valium online cheap viagra free sony ringtones free motorola ringtones cheap clonazepam cheap diazepam pharmacy online free mp3 ringtones cheap ultracet paxil online but diazepam viagra online fioricet alprazolam online valium online buy nexium lisinopril online clonazepam online ericsson ringtones soma cheap nexium didrex online celexa online free mp3 ringtones nexium carisoprodol online meridia online ultracet online cheap fioricet cingular ringtones propecia online cheap soma funny ringtones alltel ringtones adipex free nokia ringtones zoloft online cheap sildenafil buy tramadol free mono ringtones cyclobenzaprine online soma online cialis online albuterol online cialis online funny ringtones cheap nexium mp3 ringtones cheap paxil clonazepam online cheap ultracet buy soma kyocera ringtones cheap fioricet free jazz ringtones but cyclobenzaprine free nokia ringtones buy propecia cheap ativan verizon ringtones fioricet online order ambien xenical online hoodia tracfone ringtones order wellbutrin cialis online free nokia ringtones wellbutrin online meridia online levitra online qwest ringtones tramadol online adipex online meridia online propecia online real ringtones cheap soma carisoprodol online alprazolam online cheap levitra buy levitra funny ringtones free real ringtones samsung ringtones cheap xanax motorola ringtones hydrocodone online cheap hgh cheap valium cheap meridia free cingular ringtones cheap valium order xenical cheap diazepam cheap phentermine adipex online cheap norco free cool ringtones cheap norco alprazolam cyclobenzaprine online valium online tramadol online meridia online buy wellbutrin cheap viagra ultram online propecia online lorazepam online free mp3 ringtones hydrocodone online cheap ambien lorazepam online vicodin online nokia ringtones free nextel ringtones buy ultram cheap rivotril cheap wellbutrin xenical carisoprodol cheap lorazepam cheap clonazepam sagem ringtones buy soma cheap alprazolam nexium online buy vicodin ==Beschreibung== Autor: Alberto Pachera
Plugin zeigt Systeminformationen:
- kernel version
- cpu type
- cpu frequenc
- cpu usage
- cpu free
- total memory
- memory free
- memory usage
- video disk space
Inhaltsverzeichnis |
Bilder
Softwareanforderungen
- sensors (optional)
Installation
Source
Arch-Linux
pacman -S lm_sensors
Crux
prt-get depinst lm_sensors
Debian
apt-get install lm-sensors
Gentoo
emerge lm_sensors
SuSE
yast -i sensors
Konfiguration
Link setzen.
ln -s $SOURCEDIR/VDR/PLUGINS/src/sysinfo/script/sysinfo.sh /usr/local/bin
Laut README muß die sysinfo.sh nur dann angepasst werden, wenn keine Daten im zweiten Block der OSD Ausgabe zu sehen sein sollten.
Cpu Temp: xxxxxx Fan1: xxxxxx M/B Temp: xxxxxx Fan2: xxxxxx
bash> sysinfo.sh Usage: sysinfo.sh {cputemp|cpufan|mbtemp|mbfan}
Bsp:
bash> sysinfo.sh cputemp
Bekommt man hier keine Ausgabe, ist sensors aufzurufen.
bash> sensors as99127f-i2c-0-2d Adapter: SMBus Via Pro adapter at e800 Algorithm: Non-I2C SMBus adapter VCore 1: 1.72 V (min = 1.53 V, max = 1.87 V) VCore 2: 0.08 V (min = 1.53 V, max = 1.87 V) 3.3V: 3.37 V (min = 2.97 V, max = 3.63 V) 5V: 4.99 V (min = 4.50 V, max = 5.48 V) 12V: 11.86 V (min = 10.79 V, max = 13.11 V) -12V: -12.08 V (min = -15.06 V, max = -12.32 V) ALARM -5V: -5.06 V (min = -5.48 V, max = -4.50 V) fan1: 3792 RPM (min = 3000 RPM, div = 2) fan2: 0 RPM (min = 3000 RPM, div = 2) ALARM fan3: 0 RPM (min = 3000 RPM, div = 2) ALARM temp1: 33°C (limit = 60°C) temp2: 224.0°C (limit = 120°C, hysteresis = 100°C) (beep) temp3: 224.4°C (limit = 120°C, hysteresis = 100°C) vid: 1.700 V alarms: beep_enable: Sound alarm enabled
Wir nehmen das mal auseinander.
sensors | grep -i 'CPU TEMP' | cut -c 10-18 | tr -d ' ' ^ ^ ^ ^ ^ Löschen der Leerzeichen ^ ^ ^ Gibt 'characters' aus, zeichen 10 bis 18 ^ Suchphrase lautet 'CPU TEMP', '-i' steht für 'ignore case distinctions' GROß/klein Schreibung
Folgende Änderung:
- sensors | grep -i 'CPU TEMP' | cut -c 10-18 | tr -d ' ' sensors | grep -i '^temp1:' | cut -c 10-18 | tr -d ' '
Nun sollte sensors den gewünschten Wert ausgeben:
bash> sysinfo.sh cputemp 33°C
Bei den anderen Daten ist ähnlich zu verfahren.
Sonstiges
Probleme
- Bei älteren Versionen von "ps" (welches genutzt wird um "cpu free" anzuzeigen), kann es Probleme mit der Syntax geben sysinfoosd.c:
// Calculate cpu free ExecShellCmd("CPU=0; for I in `ps -eo ""%C"" | grep ""\\.""`; do CPU=`echo $CPU $I | awk '{ print $1 $2 }'`; done; echo $CPU", cTemp); ^^^^^^^^^^^^^
- Sieht man am besten auf der Konsole, anstatt einzelne WERTE... wird (not found) ausgegeben:
~# ps e%C spec value %C not found
- Änderung:
// Calculate cpu free - ExecShellCmd("CPU=0; for I in `ps -eo ""%C"" | grep ""\\.""`; do CPU=`echo $CPU $I | awk '{ print $1 $2 }'`; done; echo $CPU", cTemp); ExecShellCmd("CPU=0; for I in `ps xu | awk '{ print $3 }' | grep ""\\.""`; do CPU=`echo $CPU $I | awk '{ print $1 $2 }'`; done; echo $CPU", cTemp);
Links
- Sensors Projekt
- Sensors Howto
- Homepage des Plugins tw. eng. Rest italienisch