[NTLUG:Discuss] memory usage snapshots

gan hawk ganhawk1 at hotmail.com
Wed Mar 17 12:14:31 CST 2004


Hi,

You use /proc/meminfo. If that is not sufficient, you can download a kernel 
module that maps memory usage into /proc/memmap and /proc/mempages.  You 
should be able to find the module by googling for it.

Ganesh


>From: fredjame <fredjame at fredjame.cnc.net>
>Reply-To: NTLUG Discussion List <discuss at ntlug.org>
>To: NTLUG Discussion List <discuss at ntlug.org>
>Subject: [NTLUG:Discuss] memory usage snapshots
>Date: Wed, 17 Mar 2004 08:01:12 -0600
>MIME-Version: 1.0
>Received: from ntlug-2001.ntlug.org ([216.234.235.154]) by 
>mc4-f14.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Wed, 17 Mar 2004 
>06:03:56 -0800
>Received: from localhost ([127.0.0.1] helo=ntlug-2001.ntlug.org)by 
>ntlug-2001.ntlug.org with esmtp (Exim 4.30)id 1B3bdc-0005oV-QT; Wed, 17 Mar 
>2004 08:03:16 -0600
>Received: from sccrmhc12.comcast.net ([204.127.202.56])by 
>ntlug-2001.ntlug.org with esmtp (Exim 4.30)id 1B3bdZ-0005oP-Q3for 
>discuss at ntlug.org; Wed, 17 Mar 2004 08:03:13 -0600
>Received: from 
>fredjame.cnc.net(c-24-0-211-191.client.comcast.net[24.0.211.191])by 
>comcast.net (sccrmhc12) with SMTPid <2004031714024201200n7cc5e>          
>(Authid: fredjame);Wed, 17 Mar 2004 14:02:42 +0000
>X-Message-Info: EoYTbT2lH2PD/uqKWNyd36Lnxqni1wlf
>Message-ID: <40585A28.4040604 at fredjame.cnc.net>
>User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007
>X-Accept-Language: en-us, en
>X-BeenThere: discuss at ntlug.org
>X-Mailman-Version: 2.1
>Precedence: list
>List-Id: NTLUG Discussion List <discuss.ntlug.org>
>List-Help: <mailto:discuss-request at ntlug.org?subject=help>
>List-Post: <mailto:discuss at ntlug.org>
>List-Subscribe: 
><https://ntlug.org/mailman/listinfo/discuss>,<mailto:discuss-request at ntlug.org?subject=subscribe>
>List-Archive: </pipermail>
>List-Unsubscribe: 
><https://ntlug.org/mailman/listinfo/discuss>,<mailto:discuss-request at ntlug.org?subject=unsubscribe>
>Errors-To: discuss-bounces at ntlug.org
>Return-Path: discuss-bounces at ntlug.org
>X-OriginalArrivalTime: 17 Mar 2004 14:03:56.0626 (UTC) 
>FILETIME=[B01EF320:01C40C28]
>
>I am looking for a way to capture snapshots of physical usage on a periodic 
>basis, on *NIX machines.  I would prefer to do that in a shell script 
>(Bourne or BASH), but I can work in C as well.  Thank you in advance for 
>any help you may be able to offer.
>Regards
>Fred James
>
>--
>...we are fellow passengers...
>
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss

_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and 
safe. http://specials.msn.com/msn/security.asp




More information about the Discuss mailing list