Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 2008 10:57:02 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Process memory inspection
Message-ID:  <20081001155702.GK86326@dan.emsphone.com>
In-Reply-To: <gc03b2$pps$1@ger.gmane.org>
References:  <gc03b2$pps$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 01), Ivan Voras said:
> Hi,
> 
> The top utility has SIZE and RES, but doesn't have what part of SIZE
> is sysv shared memory. Is there something that can print out in
> detail how a process uses / allocates its memory (I'm specifically
> interested in sysvshm but there's also the stack & mmap)?

You can get detailed process memory info from /proc/<pid>/map , or in
7.1 and later, "procstat -v".  I don't know how easy it is to identify
which block is shared memory, though.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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