From owner-freebsd-questions@FreeBSD.ORG Tue Jun 6 19:06:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E478B16C214 for ; Tue, 6 Jun 2006 19:05:05 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF04043D5A for ; Tue, 6 Jun 2006 19:05:04 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k56J54Ro053556; Tue, 6 Jun 2006 14:05:04 -0500 (CDT) (envelope-from dan) Date: Tue, 6 Jun 2006 14:05:04 -0500 From: Dan Nelson To: Paul Schmehl Message-ID: <20060606190504.GC72957@dan.emsphone.com> References: <4485C5CD.1020202@utdallas.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4485C5CD.1020202@utdallas.edu> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.11 Cc: FreeBSD Questions Subject: Re: Question about pstat (8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 19:06:53 -0000 In the last episode (Jun 06), Paul Schmehl said: > The man page for pstat has this: > > pstat [-Tfhknst] [-M core [-N system]] > > What exactly is "system"? What's the argument that pstat is looking > for? I'm trying to see what processes are using swap and how much each > process is using. Is that possible with pstat? If so, what's the magic > formula? pstat -M -N is for a post-mortem analysis of a crashed system. You pass it the kernel and vmcore files with those flags. If you want process stats, use "ps". Try "ps axlw" for starters. -- Dan Nelson dnelson@allantgroup.com