* [PATCH] Documentation: /proc/loadavg: add 3 more field descriptions
@ 2021-02-03 3:32 Randy Dunlap
2021-02-04 21:35 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-02-03 3:32 UTC (permalink / raw)
To: LKML, linux-doc, Jonathan Corbet
From: Randy Dunlap <rdunlap@infradead.org>
Update contents of /proc/loadavg: add 3 more fields.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: linux-doc@vger.kernel.org
---
Documentation/filesystems/proc.rst | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- linux-next-20210202.orig/Documentation/filesystems/proc.rst
+++ linux-next-20210202/Documentation/filesystems/proc.rst
@@ -687,7 +687,10 @@ files are there, and which are missing.
kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
kmsg Kernel messages
ksyms Kernel symbol table
- loadavg Load average of last 1, 5 & 15 minutes
+ loadavg Load average of last 1, 5 & 15 minutes;
+ number of processes currently runnable (running or on ready queue);
+ total number of processes in system;
+ last pid created.
locks Kernel locks
meminfo Memory info
misc Miscellaneous
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Documentation: /proc/loadavg: add 3 more field descriptions
2021-02-03 3:32 [PATCH] Documentation: /proc/loadavg: add 3 more field descriptions Randy Dunlap
@ 2021-02-04 21:35 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-02-04 21:35 UTC (permalink / raw)
To: Randy Dunlap, LKML, linux-doc
Randy Dunlap <rdunlap@infradead.org> writes:
> From: Randy Dunlap <rdunlap@infradead.org>
>
> Update contents of /proc/loadavg: add 3 more fields.
...except that two of those fields are actually a single field with a
slash in the middle.
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: linux-doc@vger.kernel.org
> ---
> Documentation/filesystems/proc.rst | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> --- linux-next-20210202.orig/Documentation/filesystems/proc.rst
> +++ linux-next-20210202/Documentation/filesystems/proc.rst
> @@ -687,7 +687,10 @@ files are there, and which are missing.
> kcore Kernel core image (can be ELF or A.OUT(deprecated in 2.4))
> kmsg Kernel messages
> ksyms Kernel symbol table
> - loadavg Load average of last 1, 5 & 15 minutes
> + loadavg Load average of last 1, 5 & 15 minutes;
> + number of processes currently runnable (running or on ready queue);
> + total number of processes in system;
Given that those two fields (for reasons certainly unknown to me) are
different than the rest, it seems like we should actually explain how
they are formatted.
> + last pid created.
> locks Kernel locks
> meminfo Memory info
> misc Miscellaneous
The patch is an improvement over what's there now, so I've applied it,
but it seems like a further tweak might be called for.
Thanks,
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-04 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 3:32 [PATCH] Documentation: /proc/loadavg: add 3 more field descriptions Randy Dunlap
2021-02-04 21:35 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).