9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: YAMANASHI Takeshi <uncover@beat.cc.titech.ac.jp>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] output of ps(1) memory usage
Date: Fri, 21 Feb 2003 14:47:53 +0900	[thread overview]
Message-ID: <f9bf101ea0dd4705646d4c182591e2ef@orthanc.cc.titech.ac.jp> (raw)

> > Is there an easy way to determine the amount of memory
> > really inuse (or physically mapped?) within a process?
>
> cat /proc/<pid>/segment.  The first number is the

Thank you, all.

I have mistakenly thought that the output of ps/segment
concerns about the virtual memory, not physically mapped.

Now that I understand the ps/segment output correctly,
I revise my question as follows:

Is there a way to determine the amount of swapped pages
of a process?  I just want to complete the equation,
	virutal memory usage of a process =
	  swapped or not paged in + physically mapped
--
YAMANASHI Takeshi



             reply	other threads:[~2003-02-21  5:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-21  5:47 YAMANASHI Takeshi [this message]
2003-02-21  5:55 ` Russ Cox
2003-02-21  6:08   ` [9fans] alg to make a good colour palette for a graph George Michaelson
2003-02-21  6:39     ` Eric Grosse
2003-02-21  6:57       ` George Michaelson
2003-02-21  7:46     ` Skip Tavakkolian
2003-02-21 12:56       ` [9fans] " Jim Choate
2003-03-24  1:48         ` [9fans] UTF-8 handling in non-plan9 app: help finding bug George Michaelson
2003-03-24  2:31           ` Russ Cox
2003-03-24  3:01           ` David Presotto
2003-03-25 16:15           ` Boyd Roberts
2003-03-25 17:04             ` Russ Cox
2003-03-25 17:13               ` Boyd Roberts
2003-03-25 17:05             ` Jack Johnson
2003-03-25 17:14               ` Boyd Roberts
2003-03-25 22:55                 ` George Michaelson
  -- strict thread matches above, loose matches on Subject: below --
2003-02-21  7:09 [9fans] output of ps(1) memory usage YAMANASHI Takeshi
2003-02-21 15:06 ` Russ Cox
2003-02-21  3:09 okamoto
2003-02-21  2:43 David Presotto
2003-02-21  2:34 okamoto
2003-02-21  2:37 ` Russ Cox
     [not found] <uncover@beat.cc.titech.ac.jp>
2003-02-21  2:27 ` YAMANASHI Takeshi
2003-02-21  2:30   ` Russ Cox
2003-02-21  2:42   ` Scott Schwartz
2003-02-21  2:06 okamoto
2003-02-21  2:08 ` Russ Cox
2003-02-21  1:55 okamoto
2003-02-21  0:51 okamoto
2003-02-21  1:10 ` Russ Cox
2003-02-21  1:18   ` rob pike, esq.
2003-02-21  2:23 ` David Presotto

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=f9bf101ea0dd4705646d4c182591e2ef@orthanc.cc.titech.ac.jp \
    --to=uncover@beat.cc.titech.ac.jp \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).