Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jun 2006 14:05:04 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Question about pstat (8)
Message-ID:  <20060606190504.GC72957@dan.emsphone.com>
In-Reply-To: <4485C5CD.1020202@utdallas.edu>
References:  <4485C5CD.1020202@utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060606190504.GC72957>