----- Original Message ----- From: "Markus Gufler" <[EMAIL PROTECTED]>
> > ... Then execute this script: > > egrep "SMTPD.*\.SMD" m:\imail\spool\sys0203.txt | gawk -f > > IMail-SMTPD.txt > > > > Which will produce output like: > > SMTPD: Min = 263b Avg = 50.8899kb Max = 11.7192mb Tot = > > 356.627mb > > Ok, great script, but one question: > As I can understand this script will read values from the logfile that > indicate message sizes. So the min and max values are not minimum and > maximum bits per second (for which time range? 5 minutes?) but are the > smallest and largest processed messages in this logfile. This has nothing to > do with maximum bandwith usage! Correct, however, from Omar's original post, it seemed like what he was really looking for was actually the amount of data flowing into and out of his server. If he really wanted IMail based bandwidth utilization, then using RRDtool is the way to go. > The average value can also be calculated with delog: Read the total incoming > or outgoing bytes at the end of the report and divide them by the factor > 10800 > This will transform the units from Bytes/day in Bits/second (the common used > unit for this type of data) Sure, if you want to wait for some number of hours for Delog to parse your log file and then manually do the calculations, fine. However, if you want the results in seconds, then use the scripts I provided. Bill --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.