Re: [PATCH 2.6.25-4] getdelays.c: signal handling for log rotation

From: Balbir Singh
Date: Mon Jun 09 2008 - 10:43:29 EST


Scott Wiersdorf wrote:
> On Sat, 2008-06-07 at 03:13 +0200, Andi Kleen wrote:
>> Scott Wiersdorf wrote:
>>> I still think a single handler is elegant enough though, and works
>>> better with many log rotation systems that want to send a single
>>> signal to a pid (it's what we need where I'm working now, hence the
>>> patch).
>> Well in general it would be cool if there was nicer free userland for
>> the obscure but useful delay accounting. The code in Documentation
>> is really not much more than a example. Do you have something downloadable?
>
> I don't. I'm really not much of a C programmer; I'm just hacking on this
> file for our company because we have a use for it. I'm all for it going
> into userland, but don't have the time to be responsible for that.

Andi,

I've come across http://people.suug.ch/~tgr/taskstats/. It seems like a good
implementation. The code in Documentation/accounting is to show a prototype of
the implementation and to keep it updated as we add new features.

--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/