[Support] Mini-FAQ noch gepflegt? Statistiktools!

Andreas Loesch hs at andreasloesch.de
Sat Jul 15 12:29:35 CEST 2006


Hallo Christian,

Am Freitag, 14. Juli 2006 14:22 schrieb Christian Glass:
>
> Gibts vielleicht noch mehr, dass noch nicht in der Doku ist?
> Z.B. tools für mail/MySQL Speicherbelegung und Traffic?

ja gibt es :) ich hab da über die Liste auch mal etwas verteilt..

die Scripte findest Du auf http://hs.andreasloesch.de/

wichtig sind 
 pac-stat     -- ruft die anderen auf und stellt die Statitik zusammen
 pac-du-quota -- gibt etwas mehr Infos als du-pac (inkl. Quota)
 pac-traffic-yesterday -- bereitet die traffic-DATE.log auf
                       -- hier ist z.zt. der Wurm drin :)
 traffic-month.awk -- wird von  pac-traffic-yesterday gebraucht



wobei ich warnen möchte :)

seit dem Sarge-Upgrade habe ich da den Wurm drin, eine kleine 
awk-Routine scheint sich verändert zu haben... das problem ist 
identifiziert, ich habe der Lösung/Änderung nur noch keinen Timeslot 
zugewiesen :)


Gruß Andreas


PS: die Problematische zeile ist:

$  echo 'a;b;c;d' | awk '{ split($0, ARRAY, ";"); \
                           for (x in ARRAY) { print ARRAY[x] " "} \
                         }'
d
a
b
c

bisher funktionierte das immer so, dass 
a
b
c
d
geliefert wurde :( das versuche ich gerade zu verstehen :)



More information about the Support mailing list