From owner-freebsd-questions@FreeBSD.ORG Wed Sep 3 16:09:44 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9047F16A4BF for ; Wed, 3 Sep 2003 16:09:44 -0700 (PDT) Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by mx1.FreeBSD.org (Postfix) with ESMTP id B997243FBF for ; Wed, 3 Sep 2003 16:09:43 -0700 (PDT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19uglS-0001Nl-00 for ; Thu, 04 Sep 2003 01:10:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19ugW1-0001GQ-00 for ; Thu, 04 Sep 2003 00:54:17 +0200 Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 19ugVV-0001ZJ-00 for ; Thu, 04 Sep 2003 00:53:45 +0200 From: Jesse Guardiani Date: Wed, 03 Sep 2003 18:53:43 -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-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jesse@wingnet.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2003 23:09:44 -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