From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] output of ps(1) memory usage From: YAMANASHI Takeshi MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Fri, 21 Feb 2003 14:47:53 +0900 Topicbox-Message-UUID: 6c909238-eacb-11e9-9e20-41e7f4b1d025 > > Is there an easy way to determine the amount of memory > > really inuse (or physically mapped?) within a process? > > cat /proc//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