From: "Victoria Muntean" <vikimun@gmail.com>
To: "J.R. Mauro" <jrm8005@gmail.com>,
"Kernel Linux" <linux-kernel@vger.kernel.org>
Subject: Re: size of swapped-out part of the process
Date: Mon, 17 Nov 2008 15:47:16 +0200 [thread overview]
Message-ID: <ab4346860811170547j6f21ba2ducd451e761e165a5d@mail.gmail.com> (raw)
In-Reply-To: <3aaafc130811170533j4c7e0008vd76c42da0cbb9f36@mail.gmail.com>
On Mon, Nov 17, 2008 at 3:33 PM, J.R. Mauro <jrm8005@gmail.com> wrote:
> On Mon, Nov 17, 2008 at 7:53 AM, Victoria Muntean <vikimun@gmail.com> wrote:
>> How can I calculate size of swapped-out part of the process from
>> /proc/PID/*, even if approximately ?
>> For example, I have VmSize=1216192 kB, VmRSS = 628788 kB, but global
>> swap-in-use==0.
>> Hence (VmSize - VmRSS) is far from being swapped-out part of the
>> process. What is ?
>
> Doesn't top's SWAP field give you this?
No. SWAP is global. I need per-process. Per-process participation in swap.
next prev parent reply other threads:[~2008-11-17 13:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <ab4346860811170452t2cbcb451u407edca19c9e0ba6@mail.gmail.com>
2008-11-17 12:53 ` Victoria Muntean
2008-11-17 13:33 ` J.R. Mauro
2008-11-17 13:47 ` Victoria Muntean [this message]
2008-11-17 13:55 ` J.R. Mauro
2008-11-17 14:08 ` Victoria Muntean
2008-11-17 14:14 ` J.R. Mauro
2008-11-17 14:02 ` Hugh Dickins
2008-11-17 14:09 ` Victoria Muntean
2008-11-17 19:42 ` Victoria Muntean
2008-11-17 20:31 ` Bryan Donlan
2008-11-17 21:14 ` Andreas Schwab
2008-11-18 1:33 ` David Schwartz
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=ab4346860811170547j6f21ba2ducd451e761e165a5d@mail.gmail.com \
--to=vikimun@gmail.com \
--cc=jrm8005@gmail.com \
--cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®