Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752676AbYKQNdi (ORCPT ); Mon, 17 Nov 2008 08:33:38 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751791AbYKQNd1 (ORCPT ); Mon, 17 Nov 2008 08:33:27 -0500 Received: from rv-out-0506.google.com ([209.85.198.228]:14341 "EHLO rv-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751732AbYKQNd0 (ORCPT ); Mon, 17 Nov 2008 08:33:26 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Z+0KMjRKRajHskSZu8JVLEdeM9e9gfzRLWzGyoTwclYMQDEGdAc7Is8b2QSd+2XZoy df6eG05kxjj7uJ/eIgXFx2M+8D2Q/XhpcxaATrJU+jcXsDfFJk1c8vIhuwoy7GktB2PI mu7N7UOB9MPNhCNyckIZ8CKMCEWQ+mGNlHOSo= Message-ID: <3aaafc130811170533j4c7e0008vd76c42da0cbb9f36@mail.gmail.com> Date: Mon, 17 Nov 2008 08:33:25 -0500 From: "J.R. Mauro" To: "Victoria Muntean" Subject: Re: size of swapped-out part of the process Cc: "Kernel Linux" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 24 On Mon, Nov 17, 2008 at 7:53 AM, Victoria Muntean wrote: > How can I calculate size of swapped-out part of the process from > /proc/PID/*, even if approximately ? > For example, I have VmSize=1216192 kB, VmRSS = 628788 kB, but global > swap-in-use==0. > Hence (VmSize - VmRSS) is far from being swapped-out part of the > process. What is ? Doesn't top's SWAP field give you this? > > Thanks > Viki > -- > 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/ > -- 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/