pstat.8 (1856) | pstat.8 (8495) |
---|---|
1.\" Copyright (c) 1980, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" @(#)pstat.8 8.4 (Berkeley) 4/19/94 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35.Dd April 19, 1994 36.Dt PSTAT 8 37.Os BSD 4 38.Sh NAME 39.Nm pstat 40.Nd display system data structures 41.Sh SYNOPSIS 42.Nm pstat | 1.\" Copyright (c) 1980, 1991, 1993, 1994 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" @(#)pstat.8 8.4 (Berkeley) 4/19/94 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 26 unchanged lines hidden (view full) --- 35.Dd April 19, 1994 36.Dt PSTAT 8 37.Os BSD 4 38.Sh NAME 39.Nm pstat 40.Nd display system data structures 41.Sh SYNOPSIS 42.Nm pstat |
43.Op Fl Tfnstv | 43.Op Fl Tfknstv |
44.Op Fl M Ar core 45.Op Fl N Ar system | 44.Op Fl M Ar core 45.Op Fl N Ar system |
46.Pp 47.Nm swapinfo 48.Op Fl k |
|
46.Sh DESCRIPTION 47.Nm Pstat 48displays open file entry, swap space utilization, 49terminal state, and vnode data structures. 50If 51.Ar corefile 52is given, the information is sought there, otherwise 53in 54.Pa /dev/kmem . 55The required namelist is taken from 56.Pa /kernel 57unless 58.Ar system 59is specified. | 49.Sh DESCRIPTION 50.Nm Pstat 51displays open file entry, swap space utilization, 52terminal state, and vnode data structures. 53If 54.Ar corefile 55is given, the information is sought there, otherwise 56in 57.Pa /dev/kmem . 58The required namelist is taken from 59.Pa /kernel 60unless 61.Ar system 62is specified. |
60The 61.Fl n 62option specifies that devices should be printed out by major/minor 63number rather than by name. | |
64.Pp | 63.Pp |
64If invoked as 65.Nm swapinfo 66the 67.Fl s 68option is implied, and only the 69.Fl k 70option is legal. 71.Pp |
|
65Options are 66.Bl -tag -width indent | 72Options are 73.Bl -tag -width indent |
74.It Fl n 75Print devices out by major/minor instead of name. 76.It Fl k 77Print sizes in kilobytes, regardless of the setting of the BLOCKSIZE 78environment variable. |
|
67.It Fl T 68Prints the number of used and free slots in the several system tables 69and is useful for checking to see how large system tables have become 70if the system is under heavy load. 71.It Fl f 72Print the open file table with these headings: 73.Bl -tag -width indent 74.It LOC --- 231 unchanged lines hidden (view full) --- 306.Xr vmstat 1 , 307.Xr stat 2 , 308.Xr fs 5 , 309.Rs 310.Rt Tn UNIX Rt Implementation , 311.Ra K. Thompson 312.Re 313.Sh BUGS | 79.It Fl T 80Prints the number of used and free slots in the several system tables 81and is useful for checking to see how large system tables have become 82if the system is under heavy load. 83.It Fl f 84Print the open file table with these headings: 85.Bl -tag -width indent 86.It LOC --- 231 unchanged lines hidden (view full) --- 318.Xr vmstat 1 , 319.Xr stat 2 , 320.Xr fs 5 , 321.Rs 322.Rt Tn UNIX Rt Implementation , 323.Ra K. Thompson 324.Re 325.Sh BUGS |
314Swap statistics are reported for all swap partitions compiled into the kernel, 315regardless of whether those partitions are being used. 316.Pp | |
317Does not understand NFS swap servers. 318.Sh HISTORY 319The 320.Nm pstat 321command appeared in 4.0BSD. | 326Does not understand NFS swap servers. 327.Sh HISTORY 328The 329.Nm pstat 330command appeared in 4.0BSD. |