From owner-freebsd-ports@FreeBSD.ORG Wed May 14 08:03:35 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A2D8E83E for ; Wed, 14 May 2014 08:03:35 +0000 (UTC) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7287125DE for ; Wed, 14 May 2014 08:03:35 +0000 (UTC) Received: by mail-ig0-f172.google.com with SMTP id uy17so6259905igb.11 for ; Wed, 14 May 2014 01:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Meh0xpJvK61WowoZuz0ZB5wcqgfJ3gQwLc3aqbzeYsE=; b=RZCUHNeIGu/xaJDbWSGS7pfMN8gUJi57ZZVgXmvoitbra5xD8+8axjipGzVIAn5UFC 8nZ7fKPO/Ve61Iip0ebWq6dDWBViVChG0KJs6Ohn5oxbO1jzOw6nLYbswKS6c/Nu3Qnb Q+YufC4pdoGffiS72moKPZgtGD7ffQ/q1vcQXKfEkqOaY1tLZtjisbBNvcSFV5NqwYIm 9AuIhp2Z8j0iZBh1XbUD8krF+/3vBGarkBy+W9ffDdDbvvjNNSGy4XQ/Nj4ngMW8TuKj IEN+e71KmE7IjvAMxYO/GxzyvfqdxrHrvEp1AGViI/pxsVAVcNPX2nyRcxf8+gksbIDY 5BYA== MIME-Version: 1.0 X-Received: by 10.50.119.132 with SMTP id ku4mr2897346igb.35.1400054614966; Wed, 14 May 2014 01:03:34 -0700 (PDT) Received: by 10.50.232.167 with HTTP; Wed, 14 May 2014 01:03:34 -0700 (PDT) In-Reply-To: <20140513200131.GK23856@graf.pompo.net> References: <20140512213551.GE60374@graf.pompo.net> <20140513200131.GK23856@graf.pompo.net> Date: Wed, 14 May 2014 03:03:34 -0500 Message-ID: Subject: Re: Patch wanted: VmRSS, VmSize and VmStk in /proc/pid/status From: Scot Hetzel To: Scot Hetzel , FreeBSD Ports Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Wed, 14 May 2014 08:03:35 -0000 On Tue, May 13, 2014 at 3:01 PM, Thierry Thomas wrote= : > Le mar 13 mai 14 =E0 10:28:24 +0200, Scot Hetzel > =E9crivait : > >> > 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?re= vision=3D263620&view=3Dmarkup#l748 > > Good idea, I'll check it! You may also want to check usr.bin/procstat and lib/libprocstat. --=20 DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.