Re: qmailanalog and zoverall.

2000-07-19 Thread Moragues Ramón, Antonio


Hi,

I do it with:

printf("Bytes in completed messages: %.0f\n", mbytes)
printf("Bytes weighted by success: %.0f\n", rbytes)

Thanks

On Tue, 18 Jul 2000, Michael T. Babcock wrote:

 Is awk perhaps using an output format that uses scientific notation when the
 number (mbytes) is too large?  Should you change "print mbytes" to "printf
 ("%d", mbytes)" ???
 
 Moragues Ramón, Antonio wrote:
 
  Hi,
 
  I run a qmail server and I want know the total number of bytes sent
  trought it, y use qmailanalog 0.70 and gawk 3.0.4, but instead of show the
  total bytes in completes messages show a nunmber like this 1.983e+10, I
  tried use gawk and mawk, the server is a Debian GNU/Linux 2.2 on a PII
  450, anyone know whats the problem?.
 
  Completed messages: 203516
  Recipients for completed messages: 249900
  Total delivery attempts for completed messages: 262893
  Average delivery attempts per completed message: 1.29176
  Bytes in completed messages: 1.983e+10
  Bytes weighted by success: 3.26035e+10
  Average message qtime (s): 187.789
 
  Total delivery attempts: 277221
success: 248610
failure: 3155
deferral: 25456
  Total ddelay (s): 41635824.792378
  Average ddelay per success (s): 167.474457
  Total xdelay (s): 6424254.748057
  Average xdelay per delivery attempt (s): 23.173767
  Time span (days): 15.0111
  Average concurrency: 4.95331
 




qmailanalog and zoverall.

2000-07-18 Thread Moragues Ramón, Antonio


Hi,

I run a qmail server and I want know the total number of bytes sent
trought it, y use qmailanalog 0.70 and gawk 3.0.4, but instead of show the
total bytes in completes messages show a nunmber like this 1.983e+10, I
tried use gawk and mawk, the server is a Debian GNU/Linux 2.2 on a PII
450, anyone know whats the problem?.

Completed messages: 203516
Recipients for completed messages: 249900
Total delivery attempts for completed messages: 262893
Average delivery attempts per completed message: 1.29176
Bytes in completed messages: 1.983e+10
Bytes weighted by success: 3.26035e+10
Average message qtime (s): 187.789

Total delivery attempts: 277221
  success: 248610
  failure: 3155
  deferral: 25456
Total ddelay (s): 41635824.792378
Average ddelay per success (s): 167.474457
Total xdelay (s): 6424254.748057
Average xdelay per delivery attempt (s): 23.173767
Time span (days): 15.0111
Average concurrency: 4.95331





Re: qmailanalog and zoverall.

2000-07-18 Thread Michael T. Babcock

Is awk perhaps using an output format that uses scientific notation when the
number (mbytes) is too large?  Should you change "print mbytes" to "printf
("%d", mbytes)" ???

Moragues Ramón, Antonio wrote:

 Hi,

 I run a qmail server and I want know the total number of bytes sent
 trought it, y use qmailanalog 0.70 and gawk 3.0.4, but instead of show the
 total bytes in completes messages show a nunmber like this 1.983e+10, I
 tried use gawk and mawk, the server is a Debian GNU/Linux 2.2 on a PII
 450, anyone know whats the problem?.

 Completed messages: 203516
 Recipients for completed messages: 249900
 Total delivery attempts for completed messages: 262893
 Average delivery attempts per completed message: 1.29176
 Bytes in completed messages: 1.983e+10
 Bytes weighted by success: 3.26035e+10
 Average message qtime (s): 187.789

 Total delivery attempts: 277221
   success: 248610
   failure: 3155
   deferral: 25456
 Total ddelay (s): 41635824.792378
 Average ddelay per success (s): 167.474457
 Total xdelay (s): 6424254.748057
 Average xdelay per delivery attempt (s): 23.173767
 Time span (days): 15.0111
 Average concurrency: 4.95331