Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 4 Nov 2002 13:28:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 4 Nov 2002 13:28:15 -0500 Received: from [217.144.230.27] ([217.144.230.27]:42252 "HELO lexx.infeline.org") by vger.kernel.org with SMTP id ; Mon, 4 Nov 2002 13:28:14 -0500 Date: Mon, 4 Nov 2002 19:34:47 +0100 (CET) From: Ketil Froyn X-X-Sender: ketil@lexx.infeline.org To: Thomas Schenk cc: LKML Subject: Re: Need assistance in determining memory usage In-Reply-To: <1036433472.2884.42.camel@shire> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 18 On 4 Nov 2002, Thomas Schenk wrote: > Q. How can you determine how much memory a process is using at a given > point in time? Specifically, I want to know of a method or tool that > will tell me how much total memory a process is using, how much of that > total is shared with other processes, how much is resident, and how much > is swapped out. /proc//{stat,statm,status} are probably helpful. There's some info on this in Documentation/filesystems/proc.txt Ketil - 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/