Subject: Re: pstat
To: Ferry Sutanto <fsutanto@yahoo.com>
From: Allen Briggs <briggs@wasabisystems.com>
List: tech-kern
Date: 02/01/2002 22:40:23
On Fri, Feb 01, 2002 at 06:09:39PM -0800, Ferry Sutanto wrote:
> Question on pstat. I ran 'pstat -v' on my system and
> for some reason, it prints out garbage for the mount
> information. It also misses some column: FILEID,
> IFLAG, SIZ/RDEV. By the way, I have PPC NetBSD.
>
> Does anybody have this problem before ?
I don't have that problem on NetBSD/sandpoint (a PPC NetBSD platform).
$ pstat -v | head
1101 active vnodes
*** MOUNT ffs /dev/sd1a on / (local,rootfs)
ADDR TYP VFLAG USE HOLD TAG FILEID IFLAG RDEV|SZ
865020 reg - 1 1 1 14 a 1932507
1492068 reg - 0 1 1 54530 - 315392
cd09a8 dir - 0 1 1 54529 - 512
14ce770 chr - 1 0 1 27271 - drum
77fe48 chr - 1 0 1 27272 A kmem
[...]
Is your kernel in sync with your userland? What version of NetBSD are
you running?
-allen
--
Allen Briggs briggs@wasabisystems.com
http://www.wasabisystems.com/ Quality NetBSD CDs, Sales, Support, Service
NetBSD development for Alpha, ARM, M68K, MIPS, PowerPC, SuperH, XScale, etc...