Sysinfo-plugin

Aus VDR Wiki
(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
K (Änderungen von Benutzer:200.83.4.4 rückgängig gemacht und letzte Version von Benutzer:Steevee wiederhergestellt)
Zeile 1: Zeile 1:
==Beschreibung==
+
[http://grahrens.125mb.com/view/new/mappe-toscana/ mappe toscana] [http://scaleslea.freewebpage.org/text/directory/le-avventure/ le avventure erotiche di pinocchio] [http://gawelzba.t35.com/library/html/tesina-maturita.htm tesina maturita ragioneria] [http://boreldar.t35.com/text/directory/millon-de.htm millon de amigos] [http://coarmago.t35.com/content/view/cira/ cira] [http://www.freewebtown.com/starbriteyellow/resources/articles/dimm-mb.htm dimm 512mb ddr 333mhz] [http://beshennayabelka.freehostia.com/content/view/kejo.htm kejo] [http://coarmago.t35.com/content/view/www-bondesan/ www bondesan com] [http://boreldar.t35.com/text/directory/www-letteronze.htm www letteronze it] [http://benevolently.freehostia.com/content/view/left-outside/ left outside alone testo canzone] [http://selemku.t35.com/text/directory/hard-disk.htm hard disk usb2 250gb] [http://mcwardlo.t35.com/library/html/tiepolo-praga/ tiepolo praga] [http://saline-joy.freehostia.com/web/nokia-dual.htm nokia dual band] [http://scaleslea.freewebpage.org/text/directory/traduzioni-delle/ traduzioni delle canzoni dei blue] [http://kopapguw.homeblock.com/topic/tourne-en/ tourne en rond] [http://www.freewebtown.com/boogiejames/topic/cartina-geografica.htm cartina geografica dell abbruzzo] [http://coarmago.t35.com/content/view/plasma-televisore/ plasma televisore samsung] [http://coarmago.t35.com/content/view/micra-jive/ micra jive] [http://getraylo.freeweb7.com/img/styles/nuova-o.htm nuova o zone] [http://wainfan.t35.com/view/new/e-la.htm e la musica che va] [http://grahrens.125mb.com/view/new/zafira/ zafira 2002] [http://gawelzba.t35.com/library/html/il-fantino.htm il fantino deve morire] [http://flheddin.125mb.com/content/view/www-crocevia.htm www crocevia info] [http://oedi.freehostia.com/text/directory/hiratsuka/ hiratsuka] [http://greensticky.freehostia.com/library/html/eva-orlosky/ eva orlosky] [http://zoelverd.freeweb7.com/description/lib/frasi-della/ frasi della amicizia] [http://grahrens.125mb.com/view/new/simbad-dvd/ simbad dvd] [http://beshennayabelka.freehostia.com/content/view/epson-cx.htm epson cx 5400] [http://boreldar.t35.com/text/directory/canon-b.htm canon 0307b002] [http://getm0ney.freewebpage.org/lib/calamo/ calamo] [http://saline-joy.freehostia.com/web/km-citroen.htm km0 citroen c3 benzina auto km 0] [http://mcwardlo.t35.com/library/html/aeroporto-di/ aeroporto di milano] [http://huruple.125mb.com/text/directory/dsc-t/ dsc t7 sony] [http://beshennayabelka.freehostia.com/content/view/cantante-slovena.htm cantante slovena] [http://huruple.125mb.com/text/directory/elvis-presley/ elvis presley midi file] [http://wainfan.t35.com/view/new/veicoli-commerciali.htm veicoli commerciali usati] [http://kopapguw.homeblock.com/topic/ati-radeon/ ati radeon 9600pro advantage] [http://mcwardlo.t35.com/library/html/gotta-catch/ gotta catch em all] [http://mauballe.125mb.com/web/il-circo/ il circo delle meraviglie] [http://www.freewebtown.com/starbriteyellow/resources/articles/xerox-phaser.htm xerox phaser 8400n] [http://lorcaxon.homeblock.com/data/barche-vela/ barche vela] [http://failtoexpress.freehostia.com/html/kora-terry.htm kora terry] [http://beshennayabelka.freehostia.com/content/view/la-ragazza.htm la ragazza di parigi] [http://coarmago.t35.com/content/view/sexc/ sexc] [http://licohwar.homeblock.com/library/html/mis-culo/ mis culo d oro] [http://www.freewebtown.com/prncessprncipe/library/html/box-computer.htm box computer] [http://huruple.125mb.com/text/directory/decapitazione-americano/ decapitazione americano irak] [http://boreldar.t35.com/text/directory/magasin-h.htm magasin h et m] [http://beshennayabelka.freehostia.com/content/view/violenze-sessuali.htm violenze sessuali] [http://kopapguw.homeblock.com/topic/cgi/ cgi] [http://benevolently.freehostia.com/content/view/tariffa-anie/ tariffa anie] [http://zoelverd.freeweb7.com/description/lib/fujitsu-siemens/ fujitsu siemens scenic 320] [http://beshennayabelka.freehostia.com/content/view/il-sogno.htm il sogno di caterina] [http://beshennayabelka.freehostia.com/content/view/www-googel.htm www googel com vree sex live] [http://boreldar.t35.com/text/directory/tent-site.htm tent site] [http://kopapguw.homeblock.com/topic/grafcet/ grafcet] [http://www.freewebtown.com/prncessprncipe/library/html/lg-.htm lg 17 monitor] [http://kopapguw.homeblock.com/topic/hey-its/ hey its okay wav] [http://coarmago.t35.com/content/view/lopilato-video/ lopilato video] [http://flheddin.125mb.com/content/view/aisha-mp.htm aisha mp3] [http://saline-joy.freehostia.com/web/nortek-lettore.htm nortek lettore dvd] [http://coarmago.t35.com/content/view/video-download/ video download] [http://wainfan.t35.com/view/new/she-will.htm she will be love maron 5] [http://www.freewebtown.com/starbriteyellow/resources/articles/la-paz.htm la paz (el salvador)] [http://gawelzba.t35.com/library/html/accadde-sotto.htm accadde sotto il letto] [http://wainfan.t35.com/view/new/bmw-z.htm bmw z3 2002] [http://mauballe.125mb.com/web/laserfax-/ laserfax 725 philips toner] [http://benevolently.freehostia.com/content/view/signore-in/ signore in calore] [http://grahrens.125mb.com/view/new/vannessa-mae/ vannessa mae] [http://huruple.125mb.com/text/directory/amilo-centrino/ amilo centrino fujitsu-siemens m1451g] [http://boreldar.t35.com/text/directory/prendimi-cosi.htm prendimi cosi] [http://flheddin.125mb.com/content/view/noi-ragazzi.htm noi ragazzi di oggi noi] [http://kopapguw.homeblock.com/topic/lee-sannella/ lee sannella] [http://selemku.t35.com/text/directory/breatheasy.htm breatheasy] [http://coarmago.t35.com/content/view/bmw-serie/ bmw serie 1 a km o] [http://flheddin.125mb.com/content/view/yamaha-dvd.htm yamaha dvd dvx] [http://getm0ney.freewebpage.org/lib/prostitute-indiane/ prostitute indiane] [http://mcwardlo.t35.com/library/html/suites-per/ suites per violoncello di bach] [http://saline-joy.freehostia.com/web/diner-bar.htm diner bar] [http://www.freewebtown.com/starbriteyellow/resources/articles/rotel-ra.htm rotel ra-01] [http://wainfan.t35.com/view/new/vacanze-agosto.htm vacanze agosto in tunisia] [http://boreldar.t35.com/text/directory/lo-scrigno.htm lo scrigno orientale] [http://failtoexpress.freehostia.com/html/sd.htm sd 432] [http://huruple.125mb.com/text/directory/acer-alsm/ acer al1914sm] [http://boreldar.t35.com/text/directory/traduzioni-giurate.htm traduzioni giurate sicilia] [http://benevolently.freehostia.com/content/view/sony-macchina/ sony macchina fotografica digitale] [http://greensticky.freehostia.com/library/html/il-cantante/ il cantante del secolo] [http://grahrens.125mb.com/view/new/paris-hilten/ paris hilten] [http://getm0ney.freewebpage.org/lib/nikon-litetouch/ nikon lite-touch] [http://greensticky.freehostia.com/library/html/arrigoni-flli/ arrigoni flli sas] [http://gawelzba.t35.com/library/html/sondaggio-elettorali.htm sondaggio elettorali] [http://coarmago.t35.com/content/view/registro-pregiudizievoli/ registro pregiudizievoli] [http://scaleslea.freewebpage.org/text/directory/mp-once/ mp3 once again] [http://failtoexpress.freehostia.com/html/wonda.htm wonda] [http://oedi.freehostia.com/text/directory/la-fossa/ la fossa degli angeli] [http://getraylo.freeweb7.com/img/styles/ingegneria-designer.htm ingegneria designer] [http://greensticky.freehostia.com/library/html/nick-jr/ nick jr] [http://getraylo.freeweb7.com/img/styles/sushine.htm sushine] [http://scaleslea.freewebpage.org/text/directory/www-tam/ www tam] [http://mcwardlo.t35.com/library/html/ferraris/ ferraris] [http://www.freewebtown.com/starbriteyellow/resources/articles/suzuki-grand.htm suzuki grand vitara usato] [http://zoelverd.freeweb7.com/description/lib/test-canzone/ test canzone curtains fall] [http://selemku.t35.com/text/directory/the-prophet.htm the prophet] [http://beshennayabelka.freehostia.com/content/view/insonorizzazione.htm insonorizzazione] [http://grahrens.125mb.com/view/new/santa-loredana/ santa loredana] [http://failtoexpress.freehostia.com/html/hard-disk.htm hard disk esterni firewire] [http://oedi.freehostia.com/text/directory/south/ south] [http://beshennayabelka.freehostia.com/content/view/klax-d.htm klax 3d] [http://www.freewebtown.com/starbriteyellow/resources/articles/kenwood-vrs.htm kenwood vrs-6200] [http://mauballe.125mb.com/web/telefonia-vodafone/ telefonia vodafone] [http://beshennayabelka.freehostia.com/content/view/basilicata-campeggi.htm basilicata campeggi sul mare] [http://selemku.t35.com/text/directory/olympus-camedia.htm olympus camedia xd memory card] [http://kopapguw.homeblock.com/topic/bigley-death/ bigley death] [http://getraylo.freeweb7.com/img/styles/a-napoli.htm a napoli] [http://licohwar.homeblock.com/library/html/linux-mandrake/ linux mandrake cd 2] [http://gawelzba.t35.com/library/html/iref.htm iref] [http://wainfan.t35.com/view/new/fujn.htm fujn] [http://scaleslea.freewebpage.org/text/directory/ragazza-livorno/ ragazza livorno] [http://failtoexpress.freehostia.com/html/kawasaki-it.htm kawasaki it] [http://mcwardlo.t35.com/library/html/saladino/ saladino] [http://licohwar.homeblock.com/library/html/farina-semola/ farina semola grano duro] [http://getraylo.freeweb7.com/img/styles/mamma-com.htm mamma com] [http://mcwardlo.t35.com/library/html/hoover-lavatrici/ hoover lavatrici 1000 giri] [http://huruple.125mb.com/text/directory/raoul-casadei/ raoul casadei] [http://mcwardlo.t35.com/library/html/rcslibri-it/ rcslibri it] [http://mauballe.125mb.com/web/www-googel/ www googel ch] [http://getm0ney.freewebpage.org/lib/hp-compaq/ hp compaq nc4200] [http://boreldar.t35.com/text/directory/nomi-animati.htm nomi animati] [http://zoelverd.freeweb7.com/description/lib/acer-mp/ acer mp3 radio flash stick] [http://mauballe.125mb.com/web/offerta-decoder/ offerta decoder] [http://www.freewebtown.com/boogiejames/topic/ignimbrite.htm ignimbrite] [http://licohwar.homeblock.com/library/html/automodelli/ automodelli 1 8] [http://benevolently.freehostia.com/content/view/auto-noleggio/ auto noleggio salzburg] [http://saline-joy.freehostia.com/web/herrera-fernando.htm herrera, fernando de-] [http://wainfan.t35.com/view/new/kis-kis.htm kis kis] [http://grahrens.125mb.com/view/new/gta-editor/ gta2 editor] [http://wainfan.t35.com/view/new/boom-shaka.htm boom shaka] [http://wainfan.t35.com/view/new/loony-tones.htm loony tones] [http://scaleslea.freewebpage.org/text/directory/racconti-di/ racconti di suocere] [http://wainfan.t35.com/view/new/volo-aereo.htm volo aereo roma lampedusa] [http://coarmago.t35.com/content/view/odys-l/ odys 5l] [http://oedi.freehostia.com/text/directory/philosophia-perennis/ philosophia perennis] [http://benevolently.freehostia.com/content/view/criminalmente-bella/ criminalmente bella] [http://gawelzba.t35.com/library/html/effetti-chitarra.htm effetti chitarra line6] [http://grahrens.125mb.com/view/new/privitera-sante/ privitera sante  c snc] [http://mauballe.125mb.com/web/alf-poier/ alf poier] [http://www.freewebtown.com/prncessprncipe/library/html/vacanza-barca.htm vacanza barca vela] [http://getm0ney.freewebpage.org/lib/aziende-export/ aziende export spgna] [http://www.freewebtown.com/boogiejames/topic/ford-fiesta.htm ford fiesta zetec] [http://www.freewebtown.com/prncessprncipe/library/html/studio-dott.htm studio dott silvano lorenzini] [http://scaleslea.freewebpage.org/text/directory/foto-nazzismo/ foto nazzismo] [http://mcwardlo.t35.com/library/html/bed-and/ bed and breakfast barcellona] [http://mauballe.125mb.com/web/spin-doctors/ spin doctors] [http://scaleslea.freewebpage.org/text/directory/gianluca-grignani/ gianluca grignani che ne sara di noi] [http://licohwar.homeblock.com/library/html/fica-di/ fica di elisabetta canalis] [http://mcwardlo.t35.com/library/html/ramla/ ramla] [http://scaleslea.freewebpage.org/text/directory/desketop/ desketop] [http://www.freewebtown.com/prncessprncipe/library/html/basket.htm basket 6] [http://gawelzba.t35.com/library/html/ati-radeon.htm ati radeon 9600 le 256 mb ddr dvi] [http://oedi.freehostia.com/text/directory/apple-g/ apple g4 computer] [http://www.freewebtown.com/starbriteyellow/resources/articles/videos-xxx.htm videos xxx] [http://www.freewebtown.com/boogiejames/topic/concerto-ligabue.htm concerto ligabue] [http://wainfan.t35.com/view/new/creative-inspire.htm creative inspire t3000] [http://licohwar.homeblock.com/library/html/ristorante-vendita/ ristorante vendita martinica] [http://www.freewebtown.com/boogiejames/topic/caterina-va.htm caterina va in citta] [http://mauballe.125mb.com/web/fisarmonica-in/ fisarmonica in serbia] [http://mauballe.125mb.com/web/adattatore-universale/ adattatore universale corrente] [http://boreldar.t35.com/text/directory/profumo-cerruti.htm profumo cerruti] [http://getraylo.freeweb7.com/img/styles/hotel-mirabello.htm hotel mirabello] [http://licohwar.homeblock.com/library/html/radio-con/ radio con mp3] [http://boreldar.t35.com/text/directory/napoli-e.htm napoli e] [http://lorcaxon.homeblock.com/data/macchina-per/ macchina per plastificare] [http://saline-joy.freehostia.com/web/n-tya.htm n tya] [http://licohwar.homeblock.com/library/html/accessori-gucci/ accessori gucci] [http://gawelzba.t35.com/library/html/proxify.htm proxify] [http://grahrens.125mb.com/view/new/vacanze-in/ vacanze in portogallo] [http://flheddin.125mb.com/content/view/teac-legacy.htm teac legacy] [http://lorcaxon.homeblock.com/data/nuova-mini/ nuova mini auto nuove] [http://getraylo.freeweb7.com/img/styles/ritorno-ad.htm ritorno ad amare] [http://boreldar.t35.com/text/directory/kingston-.htm kingston 512 secure] [http://mauballe.125mb.com/web/tu-dove/ tu dove sei] [http://scaleslea.freewebpage.org/text/directory/la-signora/ la signora dai capelli rossi] [http://kopapguw.homeblock.com/topic/accompagnatrici-bari/ accompagnatrici bari] [http://greensticky.freehostia.com/library/html/memoria-per/ memoria per nokia 6630 512] [http://scaleslea.freewebpage.org/text/directory/x-vivo/ x700 vivo] [http://lorcaxon.homeblock.com/data/ill-be/ ill be there] [http://boreldar.t35.com/text/directory/corse-automobili.htm corse automobili] [http://scaleslea.freewebpage.org/text/directory/suonerie-midi/ suonerie midi cellulari] [http://scaleslea.freewebpage.org/text/directory/tvc-lcd/ tvc lcd 32] [http://huruple.125mb.com/text/directory/iovine-patrizia/ iovine patrizia] [http://grahrens.125mb.com/view/new/software-wallpaper/ software wallpaper] [http://oedi.freehostia.com/text/directory/lacie-hard/ lacie hard drive 250 gb usb 2 0] [http://mauballe.125mb.com/web/bella-senz/ bella senz anima mp3] [http://grahrens.125mb.com/view/new/il-pepitone/ il pepitone] [http://benevolently.freehostia.com/content/view/corporate-gifts/ corporate gifts] [http://failtoexpress.freehostia.com/html/evangelist.htm evangelist] [http://greensticky.freehostia.com/library/html/oficina/ oficina] [http://zoelverd.freeweb7.com/description/lib/pesi-balt/ pesi balt] [http://mcwardlo.t35.com/library/html/tastiera-touch/ tastiera touch] [http://greensticky.freehostia.com/library/html/km-mercedes/ km0 mercedes c diesel auto km 0] ==Beschreibung==
 
'''Autor:''' Alberto Pachera
 
'''Autor:''' Alberto Pachera
  

Version vom 13. August 2007, 00:23 Uhr

mappe toscana le avventure erotiche di pinocchio tesina maturita ragioneria millon de amigos cira dimm 512mb ddr 333mhz kejo www bondesan com www letteronze it left outside alone testo canzone hard disk usb2 250gb tiepolo praga nokia dual band traduzioni delle canzoni dei blue tourne en rond cartina geografica dell abbruzzo plasma televisore samsung micra jive nuova o zone e la musica che va zafira 2002 il fantino deve morire www crocevia info hiratsuka eva orlosky frasi della amicizia simbad dvd epson cx 5400 canon 0307b002 calamo km0 citroen c3 benzina auto km 0 aeroporto di milano dsc t7 sony cantante slovena elvis presley midi file veicoli commerciali usati ati radeon 9600pro advantage gotta catch em all il circo delle meraviglie xerox phaser 8400n barche vela kora terry la ragazza di parigi sexc mis culo d oro box computer decapitazione americano irak magasin h et m violenze sessuali cgi tariffa anie fujitsu siemens scenic 320 il sogno di caterina www googel com vree sex live tent site grafcet lg 17 monitor hey its okay wav lopilato video aisha mp3 nortek lettore dvd video download she will be love maron 5 la paz (el salvador) accadde sotto il letto bmw z3 2002 laserfax 725 philips toner signore in calore vannessa mae amilo centrino fujitsu-siemens m1451g prendimi cosi noi ragazzi di oggi noi lee sannella breatheasy bmw serie 1 a km o yamaha dvd dvx prostitute indiane suites per violoncello di bach diner bar rotel ra-01 vacanze agosto in tunisia lo scrigno orientale sd 432 acer al1914sm traduzioni giurate sicilia sony macchina fotografica digitale il cantante del secolo paris hilten nikon lite-touch arrigoni flli sas sondaggio elettorali registro pregiudizievoli mp3 once again wonda la fossa degli angeli ingegneria designer nick jr sushine www tam ferraris suzuki grand vitara usato test canzone curtains fall the prophet insonorizzazione santa loredana hard disk esterni firewire south klax 3d kenwood vrs-6200 telefonia vodafone basilicata campeggi sul mare olympus camedia xd memory card bigley death a napoli linux mandrake cd 2 iref fujn ragazza livorno kawasaki it saladino farina semola grano duro mamma com hoover lavatrici 1000 giri raoul casadei rcslibri it www googel ch hp compaq nc4200 nomi animati acer mp3 radio flash stick offerta decoder ignimbrite automodelli 1 8 auto noleggio salzburg herrera, fernando de- kis kis gta2 editor boom shaka loony tones racconti di suocere volo aereo roma lampedusa odys 5l philosophia perennis criminalmente bella effetti chitarra line6 privitera sante c snc alf poier vacanza barca vela aziende export spgna ford fiesta zetec studio dott silvano lorenzini foto nazzismo bed and breakfast barcellona spin doctors gianluca grignani che ne sara di noi fica di elisabetta canalis ramla desketop basket 6 ati radeon 9600 le 256 mb ddr dvi apple g4 computer videos xxx concerto ligabue creative inspire t3000 ristorante vendita martinica caterina va in citta fisarmonica in serbia adattatore universale corrente profumo cerruti hotel mirabello radio con mp3 napoli e macchina per plastificare n tya accessori gucci proxify vacanze in portogallo teac legacy nuova mini auto nuove ritorno ad amare kingston 512 secure tu dove sei la signora dai capelli rossi accompagnatrici bari memoria per nokia 6630 512 x700 vivo ill be there corse automobili suonerie midi cellulari tvc lcd 32 iovine patrizia software wallpaper lacie hard drive 250 gb usb 2 0 bella senz anima mp3 il pepitone corporate gifts evangelist oficina pesi balt tastiera touch km0 mercedes c diesel auto km 0 ==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

kurze beschreibung

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

  1. Sensors Projekt
  2. Sensors Howto
  3. Homepage des Plugins tw. eng. Rest italienisch
In anderen Sprachen