PSTAT(8) BSD System Manager's Manual PSTAT(8)
NAME
pstat - print system tables
SYNOPSIS
pstat [-i | -t]
DESCRIPTION
Pstat prints the contents of various system tables.
The options are as follows:
-i Print the contents of the vnode table in the following format:
ADDR The kernel address of this table entry.
VFLAG The vnode flags as follows:
R Root of its filesystem.
T Vnode is pure text prototype.
I Vnode being used by kernel.
L Vnode is locked to change underlying type.
W Process is waiting for vnode.
B Waiting for output to complete.
A Vnode has an alias.
USE Reference count of users.
HOLD Reference count of writers.
FILEID Inode number (UFS) or Fileid (NFS).
IFLAG flags for UFS filesystem:
L Inode is locked.
W Some process waiting on lock.
R Inode is being renamed.
U File has been modified.
A Inode access time to be updated.
C Inode has been changed.
M Inode has been modified.
S File has shared lock.
X File has exclusive lock.
w Someone waiting on file lock.
NFLAG flags for NFS filesystem:
L Lock the node for other local accesses.
W Want above lock.
M Might have a modified buffer in bio.
E Flag write errors so close will know.
XFLAG flags for ISO9660 filesystem:
L Inode is locked.
W Some process is waiting on lock.
MODE File permissions.
UID User ID of owner.
SIZ/DEV Size or Device name.
Each filesystem block is preceded by it's mount information,
for example: *** MOUNT ufs /dev/wd0a on / (local)
-t Print the contents of the tty table in the following format:
LINE Device name (if known) or unit number.
RAW Number of characters in raw input queue.
CAN Number of characters in canonicalized input queue.
OUT Number of characters in output queue.
ADDR Physical device address (currently unused).
COL Calculated column position of terminal.
STATE Miscellaneous state variables as follows:
T Delay timeout in progress.
W Waiting for open to complete.
O Device is open.
F Outq has been flushed during DMA.
C Software copy of carrier-present.
B Busy, output in progress.
A Async mode awaiting output.
X Exclusive-use flag against open.
S Output stopped by ctl-s.
H Hang up on last close.
SESS Address of kernel session structure.
PGRP Process group ID.
DISC Line discipline.
LINE is resolved where possible to the device name, otherwise
is it simply a unique identifier for the unit.
FILES
/var/run/dev.db device name database
SEE ALSO
fstat(1), netstat(1), nfsstat(1), ps(1), vmstat(1)
BSDI BSD/386 March 27, 1993 2