pstat.8 (fdaad796ed2738847aaf2bdc2bfbbfe427e353e1) | pstat.8 (d9961cfdb97c3a6095df8fee9c9ef9f0b490fa7a) |
---|---|
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. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 | 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. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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.\" $Id: pstat.8,v 1.13 1997/03/11 13:00:38 peter Exp $ | 33.\" $Id: pstat.8,v 1.14 1997/08/30 20:18:48 peter Exp $ |
34.\" 35.Dd May 13, 1994 36.Dt PSTAT 8 37.Os BSD 4 38.Sh NAME 39.Nm pstat , 40.Nm swapinfo 41.Nd display system data structures 42.Sh SYNOPSIS 43.Nm pstat 44.Op Fl Tfiknstv 45.Op Fl M Ar core 46.Op Fl N Ar system 47.Pp 48.Nm swapinfo 49.Op Fl k | 34.\" 35.Dd May 13, 1994 36.Dt PSTAT 8 37.Os BSD 4 38.Sh NAME 39.Nm pstat , 40.Nm swapinfo 41.Nd display system data structures 42.Sh SYNOPSIS 43.Nm pstat 44.Op Fl Tfiknstv 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 |
|
50.Sh DESCRIPTION 51.Nm Pstat 52displays open file entry, swap space utilization, 53terminal state, and vnode data structures. 54If 55.Ar corefile 56is given, the information is sought there, otherwise 57in | 52.Sh DESCRIPTION 53.Nm Pstat 54displays open file entry, swap space utilization, 55terminal state, and vnode data structures. 56If 57.Ar corefile 58is given, the information is sought there, otherwise 59in |
58.Pa /dev/kmem . | 60.Pa /dev/mem . |
59The required namelist is taken from 60.Pa /kernel 61unless 62.Ar system 63is specified. 64.Pp 65If invoked as 66.Nm swapinfo 67the 68.Fl s 69option is implied, and only the 70.Fl k 71option is legal. 72.Pp | 61The required namelist is taken from 62.Pa /kernel 63unless 64.Ar system 65is specified. 66.Pp 67If invoked as 68.Nm swapinfo 69the 70.Fl s 71option is implied, and only the 72.Fl k 73option is legal. 74.Pp |
73Options are | 75The following options are available: |
74.Bl -tag -width indent 75.It Fl n 76Print devices out by major/minor instead of name. 77.It Fl k 78Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE 79environment variable. 80.It Fl T | 76.Bl -tag -width indent 77.It Fl n 78Print devices out by major/minor instead of name. 79.It Fl k 80Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE 81environment variable. 82.It Fl T |
81Prints the number of used and free slots in the several system tables | 83Print the number of used and free slots in the several system tables |
82and is useful for checking to see how large system tables have become 83if the system is under heavy load. 84.It Fl f 85Print the open file table with these headings: 86.Bl -tag -width indent 87.It LOC 88The core location of this table entry. 89.It TYPE --- 263 unchanged lines hidden (view full) --- 353major and minor device of special file. 354.El 355.It Fl i 356Same as 357.Fl v , 358present for backwards-compatibility. 359.El 360.Sh FILES | 84and is useful for checking to see how large system tables have become 85if the system is under heavy load. 86.It Fl f 87Print the open file table with these headings: 88.Bl -tag -width indent 89.It LOC 90The core location of this table entry. 91.It TYPE --- 263 unchanged lines hidden (view full) --- 355major and minor device of special file. 356.El 357.It Fl i 358Same as 359.Fl v , 360present for backwards-compatibility. 361.El 362.Sh FILES |
361.Bl -tag -width /dev/kmemxxx -compact | 363.Bl -tag -width /dev/memxxx -compact |
362.It Pa /kernel 363namelist | 364.It Pa /kernel 365namelist |
364.It Pa /dev/kmem | 366.It Pa /dev/mem |
365default source of tables 366.El 367.Sh SEE ALSO 368.Xr ps 1 , 369.Xr systat 1 , 370.Xr stat 2 , 371.Xr fs 5 , 372.Xr iostat 8 , --- 12 unchanged lines hidden --- | 367default source of tables 368.El 369.Sh SEE ALSO 370.Xr ps 1 , 371.Xr systat 1 , 372.Xr stat 2 , 373.Xr fs 5 , 374.Xr iostat 8 , --- 12 unchanged lines hidden --- |