Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Jeroen van Meeuwen (Kolab Systems)
On 2011-07-13 8:43, Olivier ROLAND wrote: Thanks, you are perfectly right :-) 2011/7/13 Wesley Craig : I'd think you'd want to add this to telemetry_rusage().  Seems like you can get this data from getrusage() since kernel 2.6.22? Hi there, apologies for bumping the old topic, but in prepa

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Bron Gondwana
On Fri, Jan 06, 2012 at 05:15:48PM +0100, Jeroen van Meeuwen (Kolab Systems) wrote: > On 2011-07-13 8:43, Olivier ROLAND wrote: > >Thanks, you are perfectly right :-) > > > >2011/7/13 Wesley Craig : > >>I'd think you'd want to add this to telemetry_rusage().  Seems > >>like you can get this data f

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Jeroen van Meeuwen (Kolab Systems)
On 2012-01-06 17:47, Bron Gondwana wrote: On Fri, Jan 06, 2012 at 05:15:48PM +0100, Jeroen van Meeuwen (Kolab Systems) wrote: I can, and would like to, push this out to the git.cyrusimap.org/cyrus-imapd master branch for inclusion as is in 2.5, if there's no objections. Sounds good. Done.

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Olivier ROLAND
>> >> 2011/7/13 Wesley Craig : >>> >>> I'd think you'd want to add this to telemetry_rusage().  Seems like you >>> can get this data from getrusage() since kernel 2.6.22? >>> > > Hi there, > > apologies for bumping the old topic, but in preparation for what I think I > want to have included in 2.5

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Jeroen van Meeuwen (Kolab Systems)
On 2012-01-06 18:17, Olivier ROLAND wrote: Jeroen van Meeuwen wrote: 2011/7/13 Wesley Craig : I'd think you'd want to add this to telemetry_rusage().  Seems like you can get this data from getrusage() since kernel 2.6.22? I can, and would like to, push this out to the git.cyrusimap.org/cyru

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Olivier ROLAND
2012/1/6 Jeroen van Meeuwen (Kolab Systems) : > On 2012-01-06 18:17, Olivier ROLAND wrote: >>> >>> Jeroen van Meeuwen wrote: 2011/7/13 Wesley Craig : > > I'd think you'd want to add this to telemetry_rusage().  Seems like you > can get this data from getrusage() since kernel 2

Re: I/O stats for lmtp, imap and pop

2012-01-06 Thread Wesley Craig
I don't see a good reason to include code that digs around in /proc when getrusage() has the exact same data. I think adding, e.g., I/O to the telemetry calls would be peachy, either as a runtime option or if someone wants to exercise their autoconf-foo, at build time as appropriate to the plat