Question about pstat (8)
Dan Nelson
dnelson at allantgroup.com
Tue Jun 6 19:06:53 UTC 2006
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 at allantgroup.com
More information about the freebsd-questions
mailing list