Hello!

I am trying to write a collector for OpenTSDB for Mongrel, and I'm 
having a few difficulties getting the information I want.

First of all, I need to get the number of requests received until a 
certain time. I noticed that m2sh control doesn't show that information, 
and I don't know where else to look.

Secondly, I noticed that when there is only one connection esablished to 
Mongrel, the format of the output of "m2sh control status what=net" 
differs from when there is more than one connection. I'd like to know 
how I can make the output look the same for any number of connections ( 
I like the output for several connections better ). Here's an example:

One connection:

id:  741
fd:  26
type:  1
last_ping:  0
last_read:  0
last_write:  0
bytes_read:  12577740
bytes_written:  1108575


Several connections:

id  fd  type  last_ping  last_read  last_write  bytes_read bytes_written
741  26  1  0  0  0  12945708  1140975
742  27  1  0  0  0  77811  6750

Thank you.

Reply via email to