linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] Documentation: proc.rst: add more about the 6 fields in loadavg
@ 2021-02-22  3:47 Randy Dunlap
  2021-02-22 20:56 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2021-02-22  3:47 UTC (permalink / raw)
  To: linux-kernel; +Cc: Randy Dunlap, Jonathan Corbet, linux-doc

Address Jon's feedback on the previous patch by adding info about
field separators in the /proc/loadavg file.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
---
 Documentation/filesystems/proc.rst |    4 ++++
 1 file changed, 4 insertions(+)

--- linux-next-20210219.orig/Documentation/filesystems/proc.rst
+++ linux-next-20210219/Documentation/filesystems/proc.rst
@@ -691,6 +691,10 @@ files are there, and which are missing.
                 number of processes currently runnable (running or on ready queue);
                 total number of processes in system;
                 last pid created.
+                All fields are separated by one space except "number of
+                processes currently runnable" and "total number of processes
+                in system", which are separated by a slash ('/'). Example:
+                  0.61 0.61 0.55 3/828 22084
  locks        Kernel locks
  meminfo      Memory info
  misc         Miscellaneous

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

* Re: [PATCH -next] Documentation: proc.rst: add more about the 6 fields in loadavg
  2021-02-22  3:47 [PATCH -next] Documentation: proc.rst: add more about the 6 fields in loadavg Randy Dunlap
@ 2021-02-22 20:56 ` Jonathan Corbet
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2021-02-22 20:56 UTC (permalink / raw)
  To: Randy Dunlap, linux-kernel; +Cc: Randy Dunlap, linux-doc

Randy Dunlap <rdunlap@infradead.org> writes:

> Address Jon's feedback on the previous patch by adding info about
> field separators in the /proc/loadavg file.
>
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: linux-doc@vger.kernel.org
> ---
>  Documentation/filesystems/proc.rst |    4 ++++
>  1 file changed, 4 insertions(+)
>
> --- linux-next-20210219.orig/Documentation/filesystems/proc.rst
> +++ linux-next-20210219/Documentation/filesystems/proc.rst
> @@ -691,6 +691,10 @@ files are there, and which are missing.
>                  number of processes currently runnable (running or on ready queue);
>                  total number of processes in system;
>                  last pid created.
> +                All fields are separated by one space except "number of
> +                processes currently runnable" and "total number of processes
> +                in system", which are separated by a slash ('/'). Example:
> +                  0.61 0.61 0.55 3/828 22084
>   locks        Kernel locks

Applied, thanks.

jon

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

end of thread, other threads:[~2021-02-22 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-22  3:47 [PATCH -next] Documentation: proc.rst: add more about the 6 fields in loadavg Randy Dunlap
2021-02-22 20:56 ` 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).