9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] output of ps(1) memory usage
@ 2003-02-21  5:47 YAMANASHI Takeshi
  2003-02-21  5:55 ` Russ Cox
  0 siblings, 1 reply; 17+ messages in thread
From: YAMANASHI Takeshi @ 2003-02-21  5:47 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <3106177662@snellwilcox.com>]

end of thread, other threads:[~2003-03-25 22:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-21  5:47 [9fans] output of ps(1) memory usage YAMANASHI Takeshi
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
     [not found] <3106177662@snellwilcox.com>
2003-02-21 10:03 ` [9fans] alg to make a good colour palette for a graph Steve Simon

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