Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2005 15:10:47 +0300
From:      Giorgos Keramidas <keramida@freebsd.org>
To:        littlegege@263.net
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: how can I get the meminfo of each kernel process?
Message-ID:  <20050530121047.GA29209@orion.daedalusnetworks.priv>
In-Reply-To: <20050530032647.CE08F4359F@smtp.263.net>
References:  <20050530032647.CE08F4359F@smtp.263.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-05-30 11:26, littlegege@263.net wrote:
> I want to get the meminfo of each kernel process,such as how much
> memory size is allocated to a process.How can i do? I will do this
> in kernel space,so which data structure can i used to achieve this.

AFAIK, the kernel threads run in the same address space as the kernel.
It doesn't make sense to ask for their "resident size", because they
share the same address space that all the other kernel threads use.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050530121047.GA29209>