<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_pstat</id>
		<title>32v 1m pstat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://gunkies.org/index.php?action=history&amp;feed=atom&amp;title=32v_1m_pstat"/>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_pstat&amp;action=history"/>
		<updated>2026-05-10T16:28:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>https://gunkies.org/w/index.php?title=32v_1m_pstat&amp;diff=7009&amp;oldid=prev</id>
		<title>Neozeed: New page: PSTAT(1M)           UNIX Programmer's Manual            PSTAT(1M)    == NAME ==      pstat - print system facts  == SYNOPSIS ==      pstat [ -aixptuf ] [ suboptions ] [ file ]  == DESCRIPT...</title>
		<link rel="alternate" type="text/html" href="https://gunkies.org/w/index.php?title=32v_1m_pstat&amp;diff=7009&amp;oldid=prev"/>
				<updated>2009-10-26T15:21:02Z</updated>
		
		<summary type="html">&lt;p&gt;New page: PSTAT(1M)           UNIX Programmer&amp;#039;s Manual            PSTAT(1M)    == NAME ==      pstat - print system facts  == SYNOPSIS ==      pstat [ -aixptuf ] [ suboptions ] [ file ]  == DESCRIPT...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;PSTAT(1M)           UNIX Programmer's Manual            PSTAT(1M)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== NAME ==&lt;br /&gt;
     pstat - print system facts&lt;br /&gt;
&lt;br /&gt;
== SYNOPSIS ==&lt;br /&gt;
     pstat [ -aixptuf ] [ suboptions ] [ file ]&lt;br /&gt;
&lt;br /&gt;
== DESCRIPTION ==&lt;br /&gt;
     _P_s_t_a_t interprets the contents of certain system tables.  If&lt;br /&gt;
     _f_i_l_e is given, the tables are sought there, otherwise in&lt;br /&gt;
     /_d_e_v/_k_m_e_m. The required namelist is taken from /_u_n_i_x.&lt;br /&gt;
     Options are&lt;br /&gt;
&lt;br /&gt;
     -a    Under -p, describe all process slots rather than just&lt;br /&gt;
           active ones.&lt;br /&gt;
&lt;br /&gt;
     -i    Print the inode table with the these headings:&lt;br /&gt;
&lt;br /&gt;
     LOC   The core location of this table entry.&lt;br /&gt;
     FLAGS Miscellaneous state variables encoded thus:&lt;br /&gt;
           L    locked&lt;br /&gt;
           U    update time _f_i_l_s_y_s(5)) must be corrected&lt;br /&gt;
           A    access time must be corrected&lt;br /&gt;
           M    file system is mounted here&lt;br /&gt;
           W    wanted by another process (L flag is on)&lt;br /&gt;
           T    contains a text file&lt;br /&gt;
           C    changed time must be corrected&lt;br /&gt;
     CNT   Number of open file table entries for this inode.&lt;br /&gt;
     DEV   Major and minor device number of file system in which&lt;br /&gt;
           this inode resides.&lt;br /&gt;
     INO   I-number within the device.&lt;br /&gt;
     MODE  Mode bits, see _c_h_m_o_d(2).&lt;br /&gt;
     NLK   Number of links to this inode.&lt;br /&gt;
     UID   User ID of owner.&lt;br /&gt;
     SIZ/DEV&lt;br /&gt;
           Number of bytes in an ordinary file, or major and&lt;br /&gt;
           minor device of special file.&lt;br /&gt;
&lt;br /&gt;
     -x    Print the text table with these headings:&lt;br /&gt;
&lt;br /&gt;
     LOC   The core location of this table entry.&lt;br /&gt;
     FLAGS Miscellaneous state variables encoded thus:&lt;br /&gt;
           T    _p_t_r_a_c_e(2) in effect&lt;br /&gt;
           W    text not yet written on swap device&lt;br /&gt;
           L    loading in progress&lt;br /&gt;
           K    locked&lt;br /&gt;
           w    wanted (L flag is on)&lt;br /&gt;
&lt;br /&gt;
     DADDR Disk address in swap, measured in multiples of 512&lt;br /&gt;
           bytes.&lt;br /&gt;
&lt;br /&gt;
     CADDR Core address, measured in multiples of 64 bytes.&lt;br /&gt;
&lt;br /&gt;
     SIZE  Size of text segment, measured in multiples of 64&lt;br /&gt;
           bytes.&lt;br /&gt;
&lt;br /&gt;
     IPTR  Core location of corresponding inode.&lt;br /&gt;
&lt;br /&gt;
     CNT   Number of processes using this text segment.&lt;br /&gt;
&lt;br /&gt;
     CCNT  Number of processes in core using this text segment.&lt;br /&gt;
&lt;br /&gt;
     -p    Print process table for active processes with these&lt;br /&gt;
           headings:&lt;br /&gt;
&lt;br /&gt;
     LOC   The core location of this table entry.&lt;br /&gt;
     S     Run state encoded thus:&lt;br /&gt;
           0    no process&lt;br /&gt;
           1    waiting for some event&lt;br /&gt;
           3    runnable&lt;br /&gt;
           4    being created&lt;br /&gt;
           5    being terminated&lt;br /&gt;
           6    stopped under trace&lt;br /&gt;
     F     Miscellaneous state variables, or-ed together:&lt;br /&gt;
           01   loaded&lt;br /&gt;
           02   the scheduler process&lt;br /&gt;
           04   locked&lt;br /&gt;
           010  swapped out&lt;br /&gt;
           020  traced&lt;br /&gt;
           040  used in tracing&lt;br /&gt;
           0100 locked in by _l_o_c_k(2)&lt;br /&gt;
           0200 partially swapped.&lt;br /&gt;
     PRI   Scheduling priority, see _n_i_c_e(2).&lt;br /&gt;
     SIGNAL&lt;br /&gt;
           Signals received (signals 1-16 coded in bits 0-15),&lt;br /&gt;
     UID   Real user ID.&lt;br /&gt;
     TIM   Time resident in seconds; times over 127 coded as 127.&lt;br /&gt;
     CPU   Weighted integral of CPU time, for scheduler.&lt;br /&gt;
     NI    Nice level, see _n_i_c_e(2).&lt;br /&gt;
     PGRP  Process number of root of process group (the opener of&lt;br /&gt;
           the controlling terminal).&lt;br /&gt;
     PID   The process ID number.&lt;br /&gt;
     PPID  The process ID of parent process.&lt;br /&gt;
     ADDR  If in core, the physical address of the `u-area' of&lt;br /&gt;
           the process measured in multiples of 64 bytes.  If&lt;br /&gt;
           swapped out, the position in the swap area measured in&lt;br /&gt;
           multiples of 512 bytes.&lt;br /&gt;
     SIZE  Size of process image in multiples of 64 bytes.&lt;br /&gt;
     WCHAN Wait channel number of a waiting process.&lt;br /&gt;
     LINK  Link pointer in list of runnable processes.&lt;br /&gt;
     TEXTP If text is pure, pointer to location of text table&lt;br /&gt;
           entry.&lt;br /&gt;
     CLKT  Countdown for _a_l_a_r_m(2) measured in seconds.&lt;br /&gt;
&lt;br /&gt;
     -t    Print table for terminals (only DH11 and DL11 handled)&lt;br /&gt;
           with these headings:&lt;br /&gt;
&lt;br /&gt;
     RAW   Number of characters in raw input queue.&lt;br /&gt;
     CAN   Number of characters in canonicalized input queue.&lt;br /&gt;
     OUT   Number of characters in putput queue.&lt;br /&gt;
     MODE  See _t_t_y(4).&lt;br /&gt;
     ADDR  Physical device address.&lt;br /&gt;
     DEL   Number of delimiters (newlines) in canonicalized input&lt;br /&gt;
           queue.&lt;br /&gt;
     COL   Calculated column position of terminal.&lt;br /&gt;
     STATE Miscellaneous state variables encoded thus:&lt;br /&gt;
           W    waiting for open to complete&lt;br /&gt;
           O    open&lt;br /&gt;
           S    has special (output) start routine&lt;br /&gt;
           C    carrier is on&lt;br /&gt;
           B    busy doing output&lt;br /&gt;
           A    process is awaiting output&lt;br /&gt;
           X    open for exclusive use&lt;br /&gt;
           H    hangup on close&lt;br /&gt;
     PGRP  Process group for which this is controlling terminal.&lt;br /&gt;
&lt;br /&gt;
     -u    print information about a user process; the next argu-&lt;br /&gt;
           ment is its address as given by _p_s(1).  The process&lt;br /&gt;
           must be in main memory, or the file used can be a core&lt;br /&gt;
           image and the address 0.&lt;br /&gt;
&lt;br /&gt;
     -f    Print the open file table with these headings:&lt;br /&gt;
&lt;br /&gt;
     LOC   The core location of this table entry.&lt;br /&gt;
     FLG   Miscellaneous state variables encoded thus:&lt;br /&gt;
           R    open for reading&lt;br /&gt;
           W    open for writing&lt;br /&gt;
           P    pipe&lt;br /&gt;
     CNT   Number of processes that know this open file.&lt;br /&gt;
     INO   The location of the inode table entry for this file.&lt;br /&gt;
     OFFS  The file offset, see _l_s_e_e_k(2).&lt;br /&gt;
&lt;br /&gt;
== FILES ==&lt;br /&gt;
     /unix      namelist&lt;br /&gt;
     /dev/kmem  default source of tables&lt;br /&gt;
&lt;br /&gt;
== SEE ALSO ==&lt;br /&gt;
     [[32v 1m ps|ps(1)]], [[32v 2m stat|stat(2)]], [[32v 5m filsys|filsys(5)]]&lt;br /&gt;
     K. Thompson, _U_N_I_X _I_m_p_l_e_m_e_n_t_a_t_i_o_n&lt;br /&gt;
&lt;br /&gt;
[[Category:32v man section 1]]&lt;/div&gt;</summary>
		<author><name>Neozeed</name></author>	</entry>

	</feed>