Messages in this thread | | | Date | Wed, 23 Feb 2005 18:55:45 -0800 | From | Roland McGrath <> | Subject | Re: [PATCH] show RLIMIT_SIGPENDING usage in /proc/PID/status |
| |
> Two questions: 1) This changes the interface for consumers of > /proc/[pid]/status data, do we care? Adding new line like this should be > safe enough.
As far as I can tell, noone fretted about the addition of Threads:, ShdPnd:, etc., which were not always there.
> 2) Perhaps we should do /proc/[pid]/rlimit/ type dir for each value? > This has been asked for before.
Is the request to see the limit settings, or the current usage, or both? What kind of format are you suggesting? I don't see a need for something with a million little files. Also, for some of the limits the correct current usage count is not trivial to ascertain. (And for others like RLIMIT_FSIZE and RLIMIT_CORE, it is of course not meaningful at all.)
Thanks, Roland - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |