Re: taskstats accounting info

From: Balbir Singh
Date: Thu Mar 15 2007 - 18:38:05 EST


Andrew Morton wrote:
On Wed, 14 Mar 2007 17:48:32 +0530 Balbir Singh <balbir@xxxxxxxxxx> wrote:
Randy.Dunlap wrote:
Hi,

Documentation/accounting/delay-accounting.txt says that the
getdelays program has a "-c cmd" argument, but that option
does not seem to exist in Documentation/account/getdelays.c.

Do you have an updated version of getdelays.c?
If not, please correct that documentation.

Yes, I did, but then I changed my laptop. I should have it archived
at some place, I'll dig it out or correct the documentation.

Is getdelays.c the best available example of a program
using the taskstats netlink interface?

It's the most portable example, since it does not depend on libnl.

err, what is libnl?

libnl is a library abstraction for netlink (libnetlink).


If there exists some real userspace infrastructure which utilises
taskstats, can we please get a referece to it into the kernel
Documentation? Perhaps in the TASKSTATS Kconfig entry, thanks.


That sounds like a good idea. I'll check for details and get back.

--
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/