aboutsummaryrefslogtreecommitdiff
path: root/m_freebsd.man
blob: 0acafea17f2a2f1622d41c43b07fc993365d3107 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
.SH "FreeBSD NOTES"
Priorities are shown the same as they exist in process data structures,
ranging from 0 to 255.  Note that this is not the same as the ps(1) 
\*(lqpri\*(rq column, which subtracts 84 from each number before displaying
it. Priority numbers fall in to priority classes as follows:
.TP 15
0 \- 63
Interrupt threads
.TP 15
64 \- 127
Top half kernel threads
.TP 15
128 \- 159
Realtime user threads
.TP 15
160 \- 223
Time sharing user threads
.TP 15
224 \- 255
Idle user threads

.SH "FreeBSD THREADS"
Starting with FreeBSD 8.0 the display of individual threads can be
toggled with the synonymous commands
.B t
and
.BR H.
Information about state, flags, CPU time and percent cpu are shown
for each individual thread.  Other information is identical for all
threads in the same process.

.SH "FreeBSD ALTERNATE DISPLAY"
FreeBSD supports an alternate process display which shows i/o 
information.  Since this information is tracked per process and not
per thread, the per-thread display is not supported in this mode.
All fields calculate the number of operations observed since the
last update and are displayed as a per-second rate.
The fields in this display are as follows:
.TP
.B VCSW
Voluntary context switches
.TP
.B IVCSW
Involuntary context switches
.TP
.B READ
Number of blocks read
.TP
.B WRITE
Number of blocks written
.TP
.B FAULT
Number of page faults
.TP
.B TOTAL
Total number of i/o operations
.TP
.B PERCENT
Percentage of total i/o attributed to this process.  If no i/o occured
then this field is 0 for all processes.

.SH "FreeBSD KERNEL SUMMARY"
All rates are shown per-second.
.TP
.B Ctx
Number of context switches.
.TP
.B Trap
Number of kernel traps.
.TP
.B Intr
Number of device interrupts.
.TP
.B Soft
Number of software interrupts.
.TP
.B Fork
Number of forks, vforks, and rforks.
.TP
.B Flt
Total number of page faults.
.TP
.B Pgin
Number of pages paged or swapped in to physical memory.
.TP
.B Pgout
Number of pages paged or swapped out from physical memory.
.TP
.B Fr
Total number of pages freed.
.SH "FreeBSD MEMORY SUMMARY"
Memory: 10M Act 1208K Inact 3220K Wired 132K Free 25% Swap, 2924Kin 2604Kout
.TP
.B K: 
Kilobyte
.TP
.B M: 
Megabyte
.TP
.B G:
Gigabyte
.TP
.B %: 
1/100

.TP
.B Act: 
number of pages active
.TP
.B Inact: 
number of pages inactive
.TP
.B Wired: 
number of pages wired down
.TP
.B Free: 
number of pages free
.TP
.B Swap: 
swap usage
.TP 
.B Kin: 
kilobytes swap pager pages paged in (last interval)
.TP
.B Kout: 
kilobytes swap pager pages paged out  (last interval)
.PP

See /usr/include/sys/vmmeter.h and  /sys/vm/vm_meter.c.
.PP
Contributors: Christos Zoulas, Steven Wallace, Wolfram Schneider,
Monte Mitzelfelt.
.PP
This module was retrofitted from FreeBSD 4.6.2 sources.