1PSTAT(1M) PSTAT(1M)
2
3
4
6 pstat - print system facts
7
9 pstat [ -aixptuf ] [ suboptions ] [ file ]
10
12 Pstat interprets the contents of certain system tables. If file is
13 given, the tables are sought there, otherwise in /dev/mem. The
14 required namelist is taken from /unix. Options are
15
16 -a Under -p, describe all process slots rather than just active
17 ones.
18
19 -i Print the inode table with the these headings:
20
21 LOC The core location of this table entry.
22 FLAGS Miscellaneous state variables encoded thus:
23 L locked
24 U update time filsys(5)) must be corrected
25 A access time must be corrected
26 M file system is mounted here
27 W wanted by another process (L flag is on)
28 T contains a text file
29 C changed time must be corrected
30 CNT Number of open file table entries for this inode.
31 DEV Major and minor device number of file system in which this inode
32 resides.
33 INO I-number within the device.
34 MODE Mode bits, see chmod(2).
35 NLK Number of links to this inode.
36 UID User ID of owner.
37 SIZ/DEV
38 Number of bytes in an ordinary file, or major and minor device of
39 special file.
40
41 -x Print the text table with these headings:
42
43 LOC The core location of this table entry.
44 FLAGS Miscellaneous state variables encoded thus:
45 T ptrace(2) in effect
46 W text not yet written on swap device
47 L loading in progress
48 K locked
49 w wanted (L flag is on)
50
51 DADDR Disk address in swap, measured in multiples of 512 bytes.
52
53 CADDR Core address, measured in multiples of 64 bytes.
54
55 SIZE Size of text segment, measured in multiples of 64 bytes.
56
57 IPTR Core location of corresponding inode.
58
59 CNT Number of processes using this text segment.
60
61 CCNT Number of processes in core using this text segment.
62
63 -p Print process table for active processes with these headings:
64
65 LOC The core location of this table entry.
66 S Run state encoded thus:
67 0 no process
68 1 waiting for some event
69 3 runnable
70 4 being created
71 5 being terminated
72 6 stopped under trace
73 F Miscellaneous state variables, or-ed together:
74 01 loaded
75 02 the scheduler process
76 04 locked
77 010 swapped out
78 020 traced
79 040 used in tracing
80 0100 locked in by lock(2).
81 PRI Scheduling priority, see nice(2).
82 SIGNAL
83 Signals received (signals 1-16 coded in bits 0-15),
84 UID Real user ID.
85 TIM Time resident in seconds; times over 127 coded as 127.
86 CPU Weighted integral of CPU time, for scheduler.
87 NI Nice level, see nice(2).
88 PGRP Process number of root of process group (the opener of the conâ€