From: Thorsten S. <St...@me...> - 2010-10-09 15:33:36
|
On Fri, 8 Oct 2010 14:22:49 +0200, Lupe Christoph <lu...@lu...> wrote: > On Friday, 2010-10-08 at 12:36:30 +0200, Thorsten Strusch wrote: >> Am Freitag, den 08.10.2010, 12:12 +0200 schrieb Lupe Christoph: >> Er zählt also hoch - nur nich tmehr numerisch. :-/ > > Das ist Perls intelligentes Increment: > > $ perl -e '$a = "BAR"; $a++ foreach 1..8; print "$a\n";' > BAZ > So kann man eine metasyntaktische Variable in die andere umwandeln ;-) > Geht aber nur mit ++. danke für die Erklärung. vllt. gibt es ja sinnvolle Aufgaben dafür :-) >> > Meine erste Vermutung ist, dass das Statefile falsche Werte enthaelt. >> > Was steht in /var/lib/munin/plugin-state/exim_mailstats.state? > >> root@debiant: cat /var/lib/munin/plugin-state/exim_mailstats-127.0.0.1 >> %MUNIN-STATE1.0 >> 22496917 >> ET >> U >> BKY > > Jupp, das ist der Muell. > >> Die Datei hatte ich zwischenzeitlich auch schonmal gelöscht. > > Und was ist passiert? sie wurde mit jeweils drei U neu angelegt. Ich habe einfach mal Zahlen reingeschrieben und jetzt funktioniert das Hochzählen wieder korrekt. Vielen Dank für deine Tipps Thorsten -- Medienzentrum Kassel Tel: 0561 / 787-4080 Fax: 0561 / 787-7116 www.medienzentrum-kassel.de |