Re: [PATCH, RFC] bring /proc/pid/stat and /proc/pid/task/tid/stat in line with getrusage

From: bert hubert
Date: Sat Oct 16 2004 - 06:51:50 EST


On Sat, Oct 16, 2004 at 12:29:48PM +0200, bert hubert wrote:

> I'm happy to hear comments, but I hope this patch will be considered as it
> solves real world problems, even though it might confuse some theoretically
> task-aware procps tools (which I did not find).

To clarify - "ps -eLf" does traverse /proc/pid/task/tid/ , so yes, there are
tools which are task-aware. But in this case, I meant that it does not
matter as the output of /proc/pid/task/tid/stat is unchanged by my patch.

I more exactly meant that to my knowledge, no procps tools add up all the
tasks in /ptoc/pid/task/tid and present them as one process.

Sorry for the confusion.

--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
-
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/