1.SH "FreeBSD NOTES"
2Priorities are shown the same as they exist in process data structures,
3ranging from 0 to 255.  Note that this is not the same as the ps(1)
4\*(lqpri\*(rq column, which subtracts 84 from each number before displaying
5it. Priority numbers fall in to priority classes as follows:
6.TP 15
70 \- 63
8Interrupt threads
9.TP 15
1064 \- 127
11Top half kernel threads
12.TP 15
13128 \- 159
14Realtime user threads
15.TP 15
16160 \- 223
17Time sharing user threads
18.TP 15
19224 \- 255
20Idle user threads
21
22.SH "FreeBSD THREADS"
23Starting with FreeBSD 8.0 the display of individual threads can be
24toggled with the synonymous commands
25.B t
26and
27.BR H.
28Information about state, flags, CPU time and percent cpu are shown
29for each individual thread.  Other information is identical for all
30threads in the same process.
31
32.SH "FreeBSD ALTERNATE DISPLAY"
33FreeBSD supports an alternate process display which shows i/o
34information.  Since this information is tracked per process and not
35per thread, the per-thread display is not supported in this mode.
36All fields calculate the number of operations observed since the
37last update and are displayed as a per-second rate.
38The fields in this display are as follows:
39.TP
40.B VCSW
41Voluntary context switches
42.TP
43.B IVCSW
44Involuntary context switches
45.TP
46.B READ
47Number of blocks read
48.TP
49.B WRITE
50Number of blocks written
51.TP
52.B FAULT
53Number of page faults
54.TP
55.B TOTAL
56Total number of i/o operations
57.TP
58.B PERCENT
59Percentage of total i/o attributed to this process.  If no i/o occured
60then this field is 0 for all processes.
61
62.SH "FreeBSD KERNEL SUMMARY"
63All rates are shown per-second.
64.TP
65.B Ctx
66Number of context switches.
67.TP
68.B Trap
69Number of kernel traps.
70.TP
71.B Intr
72Number of device interrupts.
73.TP
74.B Soft
75Number of software interrupts.
76.TP
77.B Fork
78Number of forks, vforks, and rforks.
79.TP
80.B Flt
81Total number of page faults.
82.TP
83.B Pgin
84Number of pages paged or swapped in to physical memory.
85.TP
86.B Pgout
87Number of pages paged or swapped out from physical memory.
88.TP
89.B Fr
90Total number of pages freed.
91.SH "FreeBSD MEMORY SUMMARY"
92Memory: 10M Act 1208K Inact 3220K Wired 132K Free 25% Swap, 2924Kin 2604Kout
93.TP
94.B K:
95Kilobyte
96.TP
97.B M:
98Megabyte
99.TP
100.B G:
101Gigabyte
102.TP
103.B %:
1041/100
105
106.TP
107.B Act:
108number of pages active
109.TP
110.B Inact:
111number of pages inactive
112.TP
113.B Wired:
114number of pages wired down
115.TP
116.B Free:
117number of pages free
118.TP
119.B Swap:
120swap usage
121.TP
122.B Kin:
123kilobytes swap pager pages paged in (last interval)
124.TP
125.B Kout:
126kilobytes swap pager pages paged out  (last interval)
127.PP
128
129See /usr/include/sys/vmmeter.h and  /sys/vm/vm_meter.c.
130.PP
131Contributors: Christos Zoulas, Steven Wallace, Wolfram Schneider,
132Monte Mitzelfelt.
133.PP
134This module was retrofitted from FreeBSD 4.6.2 sources.
135