From owner-freebsd-questions Thu Feb 21 19:59:13 2002 Delivered-To: freebsd-questions@freebsd.org Received: from spf1.hq.outblaze.com (202-77-223-26.outblaze.com [202.77.223.26]) by hub.freebsd.org (Postfix) with ESMTP id 8FAC737B405 for ; Thu, 21 Feb 2002 19:59:11 -0800 (PST) Received: from outblaze.com (202-77-223-2.outblaze.com [202.77.223.2]) by spf1.hq.outblaze.com (Postfix) with ESMTP id 364A226BD1 for ; Fri, 22 Feb 2002 03:58:48 +0000 (GMT) Message-ID: <3C75C135.8413D914@outblaze.com> Date: Fri, 22 Feb 2002 11:55:33 +0800 From: victor@outblaze.com Reply-To: victor@outblaze.com X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.7-10 i686) X-Accept-Language: en, Chinese, Chinese/Taiwan, Chinese/China, Japanese, ja, zh MIME-Version: 1.0 To: "FREEBSD-QUESTIONS@freebsd.org" Subject: how to determine usage of share memory of each process? Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In linux the shared memory used by each process is listed as part of the 'top' result (SHARE). but under freebsd, I am having trouble locating any index that suggest the usage of shared memory by each process. The story is, our company has recently switched some linux base web server running apache and mod_perl, to freebsd. The switch was fairly smooth. The same config I used in linux works perfectly under freebsd. However, I hit into this shared memory problem when I try to adjust the libraries preloaded into mod_perl. Before with linux I can tell if any additional library loaded via use of startup.pl would help mod_perl memory usage by watching the fluctation of the RSS and SHARE field. But with the SHARE field missing under freebsd, I'm no longer able to determine the gain/lost of any modification I made. I would really appreciate any help on the topic, or if you know any good web site that inlcude tips of tuning mod_perl under freebsd, please kindly forward them to me. Many Thanks. Tor. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message