Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751238AbWAQOww (ORCPT ); Tue, 17 Jan 2006 09:52:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751212AbWAQOwU (ORCPT ); Tue, 17 Jan 2006 09:52:20 -0500 Received: from gold.veritas.com ([143.127.12.110]:46902 "EHLO gold.veritas.com") by vger.kernel.org with ESMTP id S1750736AbWAQOvR (ORCPT ); Tue, 17 Jan 2006 09:51:17 -0500 Date: Tue, 17 Jan 2006 14:51:44 +0000 (GMT) From: Hugh Dickins X-X-Sender: hugh@goblin.wat.veritas.com To: Ram Gupta cc: "linux-os (Dick Johnson)" , Valdis.Kletnieks@vt.edu, Linux kernel Subject: Re: Shared memory usage In-Reply-To: <728201270601161430y4a381bfcs3a470f09287769c@mail.gmail.com> Message-ID: References: <200601161848.k0GIm3xH016052@turing-police.cc.vt.edu> <728201270601161430y4a381bfcs3a470f09287769c@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 17 Jan 2006 14:51:12.0786 (UTC) FILETIME=[75C8DF20:01C61B75] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 700 Lines: 17 On Mon, 16 Jan 2006, Ram Gupta wrote: > Did you think about getting shared memory information using > shmctl(IPC_STAT). It provides useful information but I am not sure if > that will serve your purpose fully. /proc/sysvipc/shm would be easier (showing for all the shmids). But yes, these won't go very far towards "auditing all possible communications channels". Nor would a "MemShared" number, nor a total of "pages shared", whatever they mean. Hugh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/