From owner-freebsd-mobile@FreeBSD.ORG Wed Sep 3 15:39:42 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FBA216A4BF for ; Wed, 3 Sep 2003 15:39:42 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id B70E443FE0 for ; Wed, 3 Sep 2003 15:39:41 -0700 (PDT) (envelope-from freebsd-mobile@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ugIP-00019E-00 for ; Thu, 04 Sep 2003 00:40:13 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-mobile@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ugH3-00017d-00 for ; Thu, 04 Sep 2003 00:38:49 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ugGW-0001Ct-00 for ; Thu, 04 Sep 2003 00:38:16 +0200 From: Jesse Guardiani Date: Wed, 03 Sep 2003 18:38:15 -0400 Organization: WingNET Lines: 24 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org User-Agent: KNode/0.7.2 X-Mail-Copies-To: never Sender: news Subject: process memory peak recording X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 22:39:42 -0000 Howdy list, I'm a Sys Admin running FreeBSD 4.8-RELEASE servers. During a recent programming/installation project, I found myself wanting to know the peak memory usage of a given command/process. Is there any way to gather this information without recompiling an application with a sleep or wait statement at the (assumed) point of peak memory usage and then looking at the process with 'ps'? Thanks! -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net