pstat.8 (1063e12617314d2f57516f4554764a7bf2f1131d) pstat.8 (0cbfd1a52526521694bf833c9ac84fc3cdee000d)
1.\" Copyright (c) 1980, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 18 unchanged lines hidden (view full) ---

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)pstat.8 8.5 (Berkeley) 5/13/94
33.\" $FreeBSD$
34.\"
1.\" Copyright (c) 1980, 1991, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 18 unchanged lines hidden (view full) ---

27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)pstat.8 8.5 (Berkeley) 5/13/94
33.\" $FreeBSD$
34.\"
35.Dd May 13, 1994
35.Dd May 23, 2002
36.Dt PSTAT 8
37.Os
38.Sh NAME
39.Nm pstat ,
40.Nm swapinfo
41.Nd display system data structures
42.Sh SYNOPSIS
43.Nm
36.Dt PSTAT 8
37.Os
38.Sh NAME
39.Nm pstat ,
40.Nm swapinfo
41.Nd display system data structures
42.Sh SYNOPSIS
43.Nm
44.Op Fl Tfiknstv
44.Op Fl Tfknst
45.Op Fl M Ar core
46.Op Fl N Ar system
47.Pp
48.Nm swapinfo
49.Op Fl k
50.Op Fl M Ar core
51.Op Fl N Ar system
52.Sh DESCRIPTION

--- 167 unchanged lines hidden (view full) ---

220.Ql slip
221for
222SLIPDISC
223or
224.Ql ppp
225for
226PPPDISC.
227.El
45.Op Fl M Ar core
46.Op Fl N Ar system
47.Pp
48.Nm swapinfo
49.Op Fl k
50.Op Fl M Ar core
51.Op Fl N Ar system
52.Sh DESCRIPTION

--- 167 unchanged lines hidden (view full) ---

220.Ql slip
221for
222SLIPDISC
223or
224.Ql ppp
225for
226PPPDISC.
227.El
228.It Fl v
229(This option is no longer supported.)
230.Pp
231Print the active vnodes. Each group of vnodes corresponding
232to a particular filesystem is preceded by a two line header. The
233first line consists of the following:
234.Bd -ragged -offset indent
235.No *** MOUNT Em fstype from
236on
237.Em on fsflags
238.Ed
239.Pp
240where
241.Em fstype
242is one of
243.Em ufs , nfs , or pc ;
244.Em from
245is the filesystem is mounted from;
246.Em on
247is the directory
248the filesystem is mounted on; and
249.Em fsflags
250is a list
251of optional flags applied to the mount (see
252.Xr mount 8 ) .
253The second line is a header for the individual fields,
254the first part of which are fixed, and the second part are filesystem
255type specific. The headers common to all vnodes are:
256.Bl -tag -width indent
257.It ADDR
258Location of this vnode.
259.It TYP
260File type.
261.It VFLAG
262A list of letters representing vnode flags:
263.Pp
264.Bl -tag -width indent -compact
265.It R
266.Dv VROOT
267.It T
268.Dv VTEXT
269.It S
270.Dv VSYSTEM
271.It t
272.Dv VISTTY
273.It L
274.Dv VXLOCK
275.It W
276.Dv VXWANT
277.It B
278.Dv VBWAIT
279.It V
280.Dv VOBJBUF
281.It C
282.Dv VCOPYONWRITE
283.It a
284.Dv VAGE
285.It l
286.Dv VOLOCK
287.It w
288.Dv VOWANT
289.It D
290.Dv VDOOMED
291.It F
292.Dv VFREE
293.It O
294.Dv VONWORKLST
295.It M
296.Dv VMOUNT
297.El
298.It USE
299The number of references to this vnode.
300.It HOLD
301The number of I/O buffers held by this vnode.
302.It FILEID
303The vnode fileid.
304In the case of
305.Em ufs
306this is the inode number.
307.It IFLAG
308Miscellaneous filesystem specific state variables encoded thus:
309.Bl -tag -width indent
310.It "For ufs:"
311.Pp
312.Bl -tag -width indent -compact
313.It L
314locked
315.It U
316update time
317.Pq Xr fs 5
318must be corrected
319.It A
320access time must be corrected
321.It C
322changed time must be corrected
323.It U
324modification time most be corrected
325.It M
326contains modifications
327.It R
328has a rename in progress
329.It H
330inode is on hash list
331.It L
332modified, but don't write key
333.El
334.It "For nfs:"
335.Bl -tag -width indent -compact
336.Pp
337.It W
338waiting for I/O buffer flush to complete
339.It P
340I/O buffers being flushed
341.It M
342locally modified data exists
343.It E
344an earlier write failed
345.It A
346special file accessed
347.It U
348special file updated
349.It C
350special file times changed
351.El
352.El
353.It SIZ/RDEV
354Number of bytes in an ordinary file, or
355major and minor device of special file.
356.El
357.It Fl i
358Same as
359.Fl v ,
360present for backwards-compatibility.
361.It Fl M
362Extract values associated with the name list from the specified core
363instead of the default
364.Pa /dev/kmem .
365.It Fl N
366Extract the name list from the specified system instead of the default
367.Pa /boot/kernel/kernel .
368.El

--- 27 unchanged lines hidden ---
228.It Fl M
229Extract values associated with the name list from the specified core
230instead of the default
231.Pa /dev/kmem .
232.It Fl N
233Extract the name list from the specified system instead of the default
234.Pa /boot/kernel/kernel .
235.El

--- 27 unchanged lines hidden ---