* [PATCH] proc.5: Add missing fields to /proc/PID/stat
@ 2014-07-10 9:10 Mijo Safradin
[not found] ` <1404983420-21338-1-git-send-email-mijo-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Mijo Safradin @ 2014-07-10 9:10 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: linux-man-u79uwXL29TY76Z2rM5mHXA, Mijo Safradin
Merge stat fields from upstream file 'fs/proc/array.c'
Fields to add:
'start_data', 'end_data', 'start_brk', 'arg_start',
'arg_end', 'env_start', 'env_end', 'exit_code'
---
man5/proc.5 | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/man5/proc.5 b/man5/proc.5
index 239d8ac..617c20a 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -1383,6 +1383,31 @@ for a guest operating system), measured in clock ticks (divide by
\fIcguest_time\fP %ld (since Linux 2.6.24)
(44) Guest time of the process's children, measured in clock ticks (divide by
.IR sysconf(_SC_CLK_TCK) ).
+.TP
+\fIstartdata\fP %lu
+(45) address above which program data+bss is placed.
+.TP
+\fIenddata\fP %lu
+(46) address below which program data+bss is placed.
+.TP
+\fIstartbrk\fP %lu
+(47) address above which program heap can be expanded with brk().
+.TP
+\fIargstart\fP %lu
+(48) address above which program command line is placed.
+.TP
+\fIargend\fP %lu
+(49) address below which program command line is placed.
+.TP
+\fIenvstart\fP %lu
+(50) address above which program environment is placed.
+.TP
+\fIenvend\fP %lu
+(51) address below which program environment is placed.
+.TP
+\fIexitcode\fP %lu
+(52) the thread's exit_code in the form reported by the waitpid system call.
+.TP
.RE
.TP
.I /proc/[pid]/statm
--
1.7.9.5
--
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] 4+ messages in thread[parent not found: <1404983420-21338-1-git-send-email-mijo-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>]
* Re: [PATCH] proc.5: Add missing fields to /proc/PID/stat [not found] ` <1404983420-21338-1-git-send-email-mijo-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org> @ 2014-07-10 9:34 ` Jan Chaloupka [not found] ` <53BE5E17.8050509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 0 siblings, 1 reply; 4+ messages in thread From: Jan Chaloupka @ 2014-07-10 9:34 UTC (permalink / raw) To: Mijo Safradin, mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w Cc: linux-man-u79uwXL29TY76Z2rM5mHXA Hi, Mijo, the patch is already sent http://www.spinics.net/lists/linux-man/msg06029.html Just not pushed to the repo. Jan On 07/10/2014 11:10 AM, Mijo Safradin wrote: > Merge stat fields from upstream file 'fs/proc/array.c' > > Fields to add: > 'start_data', 'end_data', 'start_brk', 'arg_start', > 'arg_end', 'env_start', 'env_end', 'exit_code' > --- > man5/proc.5 | 25 +++++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > > diff --git a/man5/proc.5 b/man5/proc.5 > index 239d8ac..617c20a 100644 > --- a/man5/proc.5 > +++ b/man5/proc.5 > @@ -1383,6 +1383,31 @@ for a guest operating system), measured in clock ticks (divide by > \fIcguest_time\fP %ld (since Linux 2.6.24) > (44) Guest time of the process's children, measured in clock ticks (divide by > .IR sysconf(_SC_CLK_TCK) ). > +.TP > +\fIstartdata\fP %lu > +(45) address above which program data+bss is placed. > +.TP > +\fIenddata\fP %lu > +(46) address below which program data+bss is placed. > +.TP > +\fIstartbrk\fP %lu > +(47) address above which program heap can be expanded with brk(). > +.TP > +\fIargstart\fP %lu > +(48) address above which program command line is placed. > +.TP > +\fIargend\fP %lu > +(49) address below which program command line is placed. > +.TP > +\fIenvstart\fP %lu > +(50) address above which program environment is placed. > +.TP > +\fIenvend\fP %lu > +(51) address below which program environment is placed. > +.TP > +\fIexitcode\fP %lu > +(52) the thread's exit_code in the form reported by the waitpid system call. > +.TP > .RE > .TP > .I /proc/[pid]/statm -- Jan Chaloupka ------------------------------ * Software Engineer * * ENG Base Operating Systems * * Red Hat Czech, s. r. o. * * UTC+1 (CET), jchaloup * -- 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] 4+ messages in thread
[parent not found: <53BE5E17.8050509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>]
* Re: [PATCH] proc.5: Add missing fields to /proc/PID/stat [not found] ` <53BE5E17.8050509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> @ 2014-07-10 10:21 ` Michael Kerrisk (man-pages) 2014-07-10 10:24 ` Mijo Safradin 1 sibling, 0 replies; 4+ messages in thread From: Michael Kerrisk (man-pages) @ 2014-07-10 10:21 UTC (permalink / raw) To: Jan Chaloupka; +Cc: Mijo Safradin, linux-man On Thu, Jul 10, 2014 at 11:34 AM, Jan Chaloupka <jchaloup-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote: > Hi, Mijo, > > the patch is already sent > > http://www.spinics.net/lists/linux-man/msg06029.html > > Just not pushed to the repo. > > Jan Yes, sorry -- I had it sitting in branch with some other proc(5) changes. Merged and pushed now... Cheers, Michael > On 07/10/2014 11:10 AM, Mijo Safradin wrote: >> >> Merge stat fields from upstream file 'fs/proc/array.c' >> >> Fields to add: >> 'start_data', 'end_data', 'start_brk', 'arg_start', >> 'arg_end', 'env_start', 'env_end', 'exit_code' >> --- >> man5/proc.5 | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> >> diff --git a/man5/proc.5 b/man5/proc.5 >> index 239d8ac..617c20a 100644 >> --- a/man5/proc.5 >> +++ b/man5/proc.5 >> @@ -1383,6 +1383,31 @@ for a guest operating system), measured in clock >> ticks (divide by >> \fIcguest_time\fP %ld (since Linux 2.6.24) >> (44) Guest time of the process's children, measured in clock ticks >> (divide by >> .IR sysconf(_SC_CLK_TCK) ). >> +.TP >> +\fIstartdata\fP %lu >> +(45) address above which program data+bss is placed. >> +.TP >> +\fIenddata\fP %lu >> +(46) address below which program data+bss is placed. >> +.TP >> +\fIstartbrk\fP %lu >> +(47) address above which program heap can be expanded with brk(). >> +.TP >> +\fIargstart\fP %lu >> +(48) address above which program command line is placed. >> +.TP >> +\fIargend\fP %lu >> +(49) address below which program command line is placed. >> +.TP >> +\fIenvstart\fP %lu >> +(50) address above which program environment is placed. >> +.TP >> +\fIenvend\fP %lu >> +(51) address below which program environment is placed. >> +.TP >> +\fIexitcode\fP %lu >> +(52) the thread's exit_code in the form reported by the waitpid system >> call. >> +.TP >> .RE >> .TP >> .I /proc/[pid]/statm > > > -- > Jan Chaloupka > ------------------------------ > * Software Engineer * > * ENG Base Operating Systems * > * Red Hat Czech, s. r. o. * > * UTC+1 (CET), jchaloup * > -- 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] 4+ messages in thread
* Re: [PATCH] proc.5: Add missing fields to /proc/PID/stat [not found] ` <53BE5E17.8050509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> 2014-07-10 10:21 ` Michael Kerrisk (man-pages) @ 2014-07-10 10:24 ` Mijo Safradin 1 sibling, 0 replies; 4+ messages in thread From: Mijo Safradin @ 2014-07-10 10:24 UTC (permalink / raw) To: Jan Chaloupka Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w, linux-man-u79uwXL29TY76Z2rM5mHXA Hi Jan, ok, thanks. Mijo On Thu, 10 Jul 2014, Jan Chaloupka wrote: > Hi, Mijo, > > the patch is already sent > > http://www.spinics.net/lists/linux-man/msg06029.html > > Just not pushed to the repo. > > Jan > > On 07/10/2014 11:10 AM, Mijo Safradin wrote: >> Merge stat fields from upstream file 'fs/proc/array.c' >> >> Fields to add: >> 'start_data', 'end_data', 'start_brk', 'arg_start', >> 'arg_end', 'env_start', 'env_end', 'exit_code' >> --- >> man5/proc.5 | 25 +++++++++++++++++++++++++ >> 1 file changed, 25 insertions(+) >> >> diff --git a/man5/proc.5 b/man5/proc.5 >> index 239d8ac..617c20a 100644 >> --- a/man5/proc.5 >> +++ b/man5/proc.5 >> @@ -1383,6 +1383,31 @@ for a guest operating system), measured in clock >> ticks (divide by >> \fIcguest_time\fP %ld (since Linux 2.6.24) >> (44) Guest time of the process's children, measured in clock ticks >> (divide by >> .IR sysconf(_SC_CLK_TCK) ). >> +.TP >> +\fIstartdata\fP %lu >> +(45) address above which program data+bss is placed. >> +.TP >> +\fIenddata\fP %lu >> +(46) address below which program data+bss is placed. >> +.TP >> +\fIstartbrk\fP %lu >> +(47) address above which program heap can be expanded with brk(). >> +.TP >> +\fIargstart\fP %lu >> +(48) address above which program command line is placed. >> +.TP >> +\fIargend\fP %lu >> +(49) address below which program command line is placed. >> +.TP >> +\fIenvstart\fP %lu >> +(50) address above which program environment is placed. >> +.TP >> +\fIenvend\fP %lu >> +(51) address below which program environment is placed. >> +.TP >> +\fIexitcode\fP %lu >> +(52) the thread's exit_code in the form reported by the waitpid system >> call. >> +.TP >> .RE >> .TP >> .I /proc/[pid]/statm > > -- > Jan Chaloupka > ------------------------------ > * Software Engineer * > * ENG Base Operating Systems * > * Red Hat Czech, s. r. o. * > * UTC+1 (CET), jchaloup * > > -- 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] 4+ messages in thread
end of thread, other threads:[~2014-07-10 10:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-10 9:10 [PATCH] proc.5: Add missing fields to /proc/PID/stat Mijo Safradin
[not found] ` <1404983420-21338-1-git-send-email-mijo-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
2014-07-10 9:34 ` Jan Chaloupka
[not found] ` <53BE5E17.8050509-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2014-07-10 10:21 ` Michael Kerrisk (man-pages)
2014-07-10 10:24 ` Mijo Safradin
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.