From owner-freebsd-ports@FreeBSD.ORG Tue May 13 20:02:53 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 107BF6EC for ; Tue, 13 May 2014 20:02:53 +0000 (UTC) Received: from mx1a.lautre.net (eyra.lautre.net [80.67.160.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.lautre.net", Issuer "StartCom Class 2 Primary Intermediate Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BEFE729FD for ; Tue, 13 May 2014 20:02:51 +0000 (UTC) Received: from graf.pompo.net (graf.pompo.net [78.225.128.39]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: thierry@pompo.net) by mx1a.lautre.net (Postfix) with ESMTPSA id EAB17A016D; Tue, 13 May 2014 22:01:33 +0200 (CEST) Received: by graf.pompo.net (Postfix, from userid 1001) id DF3FC71E556; Tue, 13 May 2014 22:01:31 +0200 (CEST) Date: Tue, 13 May 2014 22:01:31 +0200 From: Thierry Thomas To: Scot Hetzel Subject: Re: Patch wanted: VmRSS, VmSize and VmStk in /proc/pid/status Message-ID: <20140513200131.GK23856@graf.pompo.net> Mail-Followup-To: Scot Hetzel , FreeBSD Ports References: <20140512213551.GE60374@graf.pompo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: X-PGP: 0xF1C516B3C8359753 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 May 2014 20:02:53 -0000 Le mar 13 mai 14 à 10:28:24 +0200, Scot Hetzel écrivait : > > It's why I'm looking for help here: does somebody knows how the > > corresponding values of these Vm... can be found in FreeBSD? > > You could try reading the source for linprocfs to see how it gets those values: > > https://svnweb.freebsd.org/base/head/sys/compat/linprocfs/linprocfs.c?revision=263620&view=markup#l748 Good idea, I'll check it! -- Th. Thomas.