All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] proc.5: add missing proc stats fields
@ 2014-05-27 12:10 jchaloup
       [not found] ` <20140527121059.15025.95410.stgit-/v0jm+aXwyk2pP1PFFXgSPXAX3CI6PSWQQ4Iyu8u01E@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: jchaloup @ 2014-05-27 12:10 UTC (permalink / raw)
  To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
  Cc: linux-man-u79uwXL29TY76Z2rM5mHXA,
	jchaloup-H+wXaHxf7aLQT0dZR+AlfA, johnsonm-MGnxaD/BIt43uPMLIKxrzw

Adding missing proc stats fields from https://www.kernel.org/doc/Documentation/filesystems/proc.txt, caption: Table 1-4: Contents of the stat files (as of 2.6.30-rc7). Distribution: Fedora 20. Man-pages: man-pages-3.67.

Signed-off-by: jchaloup <jchaloup-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
 man5/proc.5 |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/man5/proc.5 b/man5/proc.5
index a106b17..620e6e3 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1385,6 +1385,38 @@ for a guest operating system), measured in clock ticks (divide by
 .IR sysconf(_SC_CLK_TCK) ).
 .RE
 .TP
+\fIstart_data\fP %lu (since Linux 2.6.30)
+(45) Address above which program data+bss is placed.
+.RE
+.TP
+\fIend_data\fP %lu (since Linux 2.6.30)
+(46) Address below which program data+bss is placed.
+.RE
+.TP
+\fIstart_brk\fP %lu (since Linux 2.6.30)
+(47) Address above which program heap can be expanded with brk().
+.RE
+.TP
+\fIarg_start\fP %lu (since Linux 2.6.30)
+(48) Address above which program command line is placed.
+.RE
+.TP
+\fIarg_end\fP %lu (since Linux 2.6.30)
+(49) Address below which program command line is placed.
+.RE
+.TP
+\fIenv_start\fP %lu (since Linux 2.6.30)
+(50) Address above which program environment is placed.
+.RE
+.TP
+\fIenv_end\fP %lu (since Linux 2.6.30)
+(51) Address below which program environment is placed.
+.RE
+.TP
+\fIexit_code\fP %d (since Linux 2.6.30)
+(52) The thread's exit_code in the form reported by the waitpid system.
+.RE
+.TP
 .I /proc/[pid]/statm
 Provides information about memory usage, measured in pages.
 The columns are:

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] proc.5: add missing proc stats fields
       [not found] ` <20140527121059.15025.95410.stgit-/v0jm+aXwyk2pP1PFFXgSPXAX3CI6PSWQQ4Iyu8u01E@public.gmane.org>
@ 2014-05-29  7:57   ` Michael Kerrisk (man-pages)
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Kerrisk (man-pages) @ 2014-05-29  7:57 UTC (permalink / raw)
  To: jchaloup
  Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w,
	linux-man-u79uwXL29TY76Z2rM5mHXA,
	johnsonm-MGnxaD/BIt43uPMLIKxrzw

On 05/27/2014 02:10 PM, jchaloup wrote:
> Adding missing proc stats fields from
> https://www.kernel.org/doc/Documentation/filesystems/proc.txt,
> caption: Table 1-4: Contents of the stat files (as of 2.6.30-rc7).
> Distribution: Fedora 20. Man-pages: man-pages-3.67.

Jan,

Thank you for this patch. Note, however, that these fields were
not added in 2.6.30. Rather, the first three were in 3.3 and
the remainder were in 3.5. I applied this patch and amended to
note the correct versions.

Thanks,

Michael

> 
> Signed-off-by: jchaloup <jchaloup-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> ---
>  man5/proc.5 |   32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/man5/proc.5 b/man5/proc.5
> index a106b17..620e6e3 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -1385,6 +1385,38 @@ for a guest operating system), measured in clock ticks (divide by
>  .IR sysconf(_SC_CLK_TCK) ).
>  .RE
>  .TP
> +\fIstart_data\fP %lu (since Linux 2.6.30)
> +(45) Address above which program data+bss is placed.
> +.RE
> +.TP
> +\fIend_data\fP %lu (since Linux 2.6.30)
> +(46) Address below which program data+bss is placed.
> +.RE
> +.TP
> +\fIstart_brk\fP %lu (since Linux 2.6.30)
> +(47) Address above which program heap can be expanded with brk().
> +.RE
> +.TP
> +\fIarg_start\fP %lu (since Linux 2.6.30)
> +(48) Address above which program command line is placed.
> +.RE
> +.TP
> +\fIarg_end\fP %lu (since Linux 2.6.30)
> +(49) Address below which program command line is placed.
> +.RE
> +.TP
> +\fIenv_start\fP %lu (since Linux 2.6.30)
> +(50) Address above which program environment is placed.
> +.RE
> +.TP
> +\fIenv_end\fP %lu (since Linux 2.6.30)
> +(51) Address below which program environment is placed.
> +.RE
> +.TP
> +\fIexit_code\fP %d (since Linux 2.6.30)
> +(52) The thread's exit_code in the form reported by the waitpid system.
> +.RE
> +.TP
>  .I /proc/[pid]/statm
>  Provides information about memory usage, measured in pages.
>  The columns are:
> 
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-29  7:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-27 12:10 [PATCH] proc.5: add missing proc stats fields jchaloup
     [not found] ` <20140527121059.15025.95410.stgit-/v0jm+aXwyk2pP1PFFXgSPXAX3CI6PSWQQ4Iyu8u01E@public.gmane.org>
2014-05-29  7:57   ` Michael Kerrisk (man-pages)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.