All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Sven Hoexter <sven-jJOYKVDXsn5H4x6Dk/4f9A@public.gmane.org>
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] proc.5: Add "VmSwap" to /proc/[pid]/status
Date: Tue, 23 Dec 2014 16:06:33 +0100	[thread overview]
Message-ID: <549984F9.9090501@gmail.com> (raw)
In-Reply-To: <E1Y0APl-0002WV-Ai-mFPisyE7dAXhXIiyNabO3w@public.gmane.org>

Sven,

On 12/14/2014 03:20 PM, Sven Hoexter wrote:
> Documented as is in Documentation/filesystems/proc.txt of Linux 3.18.
> 
> Signed-off-by: Sven Hoexter <sven-jJOYKVDXsn5H4x6Dk/4f9A@public.gmane.org>
> ---
>  man5/proc.5 | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/man5/proc.5 b/man5/proc.5
> index 96077d0..b16f2a7 100644
> --- a/man5/proc.5
> +++ b/man5/proc.5
> @@ -1587,6 +1587,7 @@ VmStk:        88 kB
>  VmExe:       572 kB
>  VmLib:      1708 kB
>  VmPTE:        20 kB
> +VmSwap:        0 kB
>  Threads:        1
>  SigQ:   0/3067
>  SigPnd: 0000000000000000
> @@ -1672,6 +1673,9 @@ Shared library code size.
>  .IR VmPTE :
>  Page table entries size (since Linux 2.6.10).
>  .IP *
> +.IR VmSwap :
> +Size of swap usage (the number of referred swapents).
> +.IP *
>  .IR Threads :
>  Number of threads in process containing this thread.
>  .IP *

Thanks for this patch. I've applied, and added text that the field 
appeared in Linux 2.6.34. However, I have a question: what does the
text "(the number of referred swapents)" mean? Is this field
not just reporting a value in kB (i.e., the number of kB across all 
swap entries)?

Cheers,

Michael



-- 
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

  parent reply	other threads:[~2014-12-23 15:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-14 14:20 [PATCH] proc.5: Add "VmSwap" to /proc/[pid]/status Sven Hoexter
     [not found] ` <E1Y0APl-0002WV-Ai-mFPisyE7dAXhXIiyNabO3w@public.gmane.org>
2014-12-23 15:06   ` Michael Kerrisk (man-pages) [this message]
     [not found]     ` <549984F9.9090501-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-24  0:24       ` Sven Hoexter
     [not found]         ` <20141224002412.GA1719-ckv7mInNtAwb1SvskN2V4Q@public.gmane.org>
2014-12-24 14:26           ` Michael Kerrisk (man-pages)
     [not found]             ` <549ACCFE.3030809-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-12-25  0:15               ` Kamezawa Hiroyuki
     [not found]                 ` <549B571E.8080407-+CUm20s59erQFUHtdCDX3A@public.gmane.org>
2014-12-26  6:20                   ` Michael Kerrisk (man-pages)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=549984F9.9090501@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sven-jJOYKVDXsn5H4x6Dk/4f9A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.