Ein Modul zur Erfassen von diversen RPi/Linux-Statistiken (SYSMON)

Begonnen von hexenmeister, 06 Dezember 2013, 17:44:38

Vorheriges Thema - Nächstes Thema

moonsorrox

was war denn hier heute morgen los..?
Das Log ist ellenlang...! hier nur mal ein Teil davon
2015.09.13 08:45:32 1: PERL WARNING: Use of uninitialized value in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 893.
2015.09.13 08:44:32 1: Cannot fork: Cannot allocate memory
2015.09.13 08:44:32 1: Cannot fork: Cannot allocate memory
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $val in addition (+) at ./FHEM/42_SYSMON.pm line 1467.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $val in numeric lt (<) at ./FHEM/42_SYSMON.pm line 1466.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $val in numeric gt (>) at ./FHEM/42_SYSMON.pm line 1465.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1462.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3647.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in string ne at ./FHEM/42_SYSMON.pm line 3637.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.09.13 08:43:32 1: PERL WARNING: Use of uninitialized value $entry in index at ./FHEM/42_SYSMON.pm line 2162.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $val in addition (+) at ./FHEM/42_SYSMON.pm line 1467.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $val in numeric lt (<) at ./FHEM/42_SYSMON.pm line 1466.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $val in numeric gt (>) at ./FHEM/42_SYSMON.pm line 1465.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1462.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3647.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in string ne at ./FHEM/42_SYSMON.pm line 3637.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 132.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $string in substitution (s///) at ./FHEM/99_Utils.pm line 131.
2015.09.13 08:42:32 1: PERL WARNING: Use of uninitialized value $entry in index at ./FHEM/42_SYSMON.pm line 2162.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $val in addition (+) at ./FHEM/42_SYSMON.pm line 1467.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $val in numeric lt (<) at ./FHEM/42_SYSMON.pm line 1466.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $val in numeric gt (>) at ./FHEM/42_SYSMON.pm line 1465.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $val in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 1462.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3647.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3645.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3644.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in string ne at ./FHEM/42_SYSMON.pm line 3637.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3615.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3614.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in multiplication (*) at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in string eq at ./FHEM/42_SYSMON.pm line 3590.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_current in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_voltage in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_present in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
2015.09.13 08:41:32 1: PERL WARNING: Use of uninitialized value $d_online in concatenation (.) or string at ./FHEM/42_SYSMON.pm line 3589.
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

PeMue

RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

hexenmeister

Zitat von: PeMue am 12 September 2015, 22:57:37
kann es sein, dass SYSMON alle Werte, die nicht vom Modul selber kommen, ziemlich schnell "killt"?
Ja, tut er. Die Idee war, die nicht mehr aktuellen Readings (die auch nicht mehr aktualisiert werden) zu entfernen.

hexenmeister

Zitat von: moonsorrox am 13 September 2015, 12:43:13
was war denn hier heute morgen los..?
Das Log ist ellenlang...! hier nur mal ein Teil davon
Ich glaube nicht, dass es an BarCharts liegt. Eher, dass Dein System kein Speicher mehr hat und daher kein Fork (BlockingCall) möglich war. Sysmon kann damit nicht gut umgehen.

PeMue

Hallo Alexander,

noch eine Frage: per UserReadings definierte Werte werden vermutlich im M1 Intervall abgefragt, oder? Wenn ja, kann man das irgendwie verlängern? Aber jetzt hat wenigstens meine Fritz Box was zu tun :-)

Danke + Gruß

PeMue
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

hexenmeister

Zitat von: PeMue am 13 September 2015, 14:49:26
noch eine Frage: per UserReadings definierte Werte werden vermutlich im M1 Intervall abgefragt, oder? Wenn ja, kann man das irgendwie verlängern? Aber jetzt hat wenigstens meine Fritz Box was zu tun :-)

Nein, userReadings ist ein FHEM-Mechanismus und hat mit SYSMON nicht direkt was zu tun. FHEM SYSMON bietet abereine ähnliche Möglichkeit:

Zitatuser-defined <readingsName>:<Interval_Minutes>:<Comment>:<Cmd>,...
Diese kommaseparierte Liste definiert Einträge mit jeweils folgenden Daten: Reading-Name, Aktualisierungsintervall in Minuten, Kommentar und Betriebssystem-Commando.
Die BS-Befehle werden entsprechend des angegebenen Intervalls ausgeführt und als Readings mit den angegebenen Namen vermerkt. Kommentare werden für die HTML-Ausgaben (s. SYSMON_ShowValuesHTML) benötigt.
Alle Parameter sind nicht optional!
Es ist wichtig, dass die angegebenen Befehle schnell ausgeführt werden, denn in dieser Zeit wird der gesamte FHEM-Server blockiert!
Werden Ergebnisse der lang laufenden Operationen benötigt, sollten diese z.B als CRON-Job eingerichtet werden und in FHEM nur die davor gespeicherten Ausgaben visualisiert.

Edit: Korrektur

PeMue

#1071
Hallo Alexander,

danke für den Schubs. Habe es gefixt, allerdings ist das Reading fb_totaltime ruck-zuck weg. Mal sehen, ob es nach einer Stunde wieder da ist. Was passiert mit diesen Readings, wenn sie nur alle Stunde aktualisiert werden?

Danke + Gruß

PeMue

Edit1:
ZitatDiese kommaseparierte Liste definiert Einträge mit jeweils folgenden Daten: Reading-Name, Aktualisierungsintervall in Minuten, Kommentar und Betriebssystem-Commando.
Kann ich da keine Funktion aus 99_MyUtils dahinterhängen?
Ansonsten mache ich das per at alle Stunde und schiebe den Variableninhalt in den Dummy, da wo die anderen stehen ...

Edit2:
Mit at und einem dummy geht es, die Systemlast scheint deutlich runterzugehen ...

Edit3:
Jetzt ist die Box wieder friedlich, siehe
(http://forum.fhem.de/index.php?action=dlattach;topic=17201.0;attach=37169;image)

PS: Das mit user-fn probiere ich im Laufe der Woche. Aber man sieht, es führen viele Wege nach Rom  ;)
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

hexenmeister

Zitat von: PeMue am 13 September 2015, 18:25:57
Was passiert mit diesen Readings, wenn sie nur alle Stunde aktualisiert werden?
Sollten eigentlich da bleiben.

Zitat
Edit1:Kann ich da keine Funktion aus 99_MyUtils dahinterhängen?

Kannst user-fn nehmen:
Zitatuser-fn <fn_name>:<Interval_Minutes>:<reading_name1>:<reading_name2>...[:<reading_nameX>],...
Liste der benutzerdefinierten Perlfunktionen.
Als <fn_name> können entweder Name einer Perlfunktion oder ein Perlausdruck verwendet werden. Die Perlfunktion bekommt den Device-Hash als Übergabeparameter und muss ein Array mit Werte liefern. Diese Werte werden entsprechend den Parameter <reading_nameX> in Readings übernommen.
Ein Perlausdruck muss in geschweifte Klammer eingeschlossen werden und kann folgende Paramter verwenden: $HASH (Device-Hash) und $NAME (Device-Name). Rückgabe wird analog einer Perlfunktion erwartet.
Wichtig! Die Trennung zwischen mehreren Benutzerfunktionen muss mit einem Komma UND einem Leerzeichen erfolgen! Innerhalb der Funktiondefinition dürfen Kommas nicht durch Leerzeichen gefolgt werden.

moonsorrox

Zitat von: hexenmeister am 13 September 2015, 13:13:01
Eher, dass Dein System kein Speicher mehr hat und daher kein Fork (BlockingCall) möglich war. Sysmon kann damit nicht gut umgehen.
das sagt mir gar nichts... welchen Speicher meinst du damit..? und wie kann ich das ändern..?
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

hexenmeister

Zitat von: moonsorrox am 14 September 2015, 17:22:38
das sagt mir gar nichts... welchen Speicher meinst du damit..? und wie kann ich das ändern..?
RAM. Befehl free zeigt den aktuellen Zustand. Restart sollte helfen, wenn nicht, muss man suchen, was im System schief läuft.

moonsorrox

Zitat von: hexenmeister am 14 September 2015, 21:16:50
RAM. Befehl free zeigt den aktuellen Zustand. Restart sollte helfen, wenn nicht, muss man suchen, was im System schief läuft.
Ok..
Free: 1714.99 MB Restart mache ich ja des öfteren mal...! Im Moment tritt dieses ja auch irgendwie nicht mehr auf  :-\
Alles schon etwas ominös  :(
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

hexenmeister

Zitat von: moonsorrox am 14 September 2015, 22:52:35
Ok..
Free: 1714.99 MB Restart mache ich ja des öfteren mal...! Im Moment tritt dieses ja auch irgendwie nicht mehr auf  :-\
Alles schon etwas ominös  :(
Ich vermute, hin und wieder läuft ergendwas in Deinem System Amok, frisst Speicher weg, dann gehts nichts mehr. Wenn das ieder auftrit, kannst mit top (oder etwas bequemmer mit htop) versuchen, den Speicherfresser zu finden.

Wernieman

Da Unix den freien Speicher als Cache mit verwendet, ist die reine "Free"-Ausgabe von free nicht sehr aussagekräftig. Besser ist, uns die komplette Ausgabe zu geben:
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html

moonsorrox

Zitat von: Wernieman am 15 September 2015, 09:46:26
Da Unix den freien Speicher als Cache mit verwendet, ist die reine "Free"-Ausgabe von free nicht sehr aussagekräftig. Besser ist, uns die komplette Ausgabe zu geben:
sicher bin ich gemeint  ;)
Mit welchem Kommando wäre das zu machen...? Mit "htop" ..? da das ja ewig wandert bekomme ich da dann alle Daten mit..? Kenne mich da nicht so aus...!  :-\
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

Wernieman

naja .. einfach "free" eingeben und uns die Ausgabe geben ;o)

htop hat große Vorteile .. aber auch große Nachteile .. ;o)
- Bitte um Input für Output
- When there is a Shell, there is a Way
- Wann war Dein letztes Backup?

Wie man Fragen stellt: https://tty1.net/smart-questions_de.html