]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/vmstat-p.d.1m
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / vmstat-p.d.1m
1 .TH vmstat-p.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 vmstat-p.d \- vmstat -p demo in DTrace. Uses DTrace.
4 .SH SYNOPSIS
5 .B vmstat-p.d
6 .SH DESCRIPTION
7 This has been written to demonstrate fetching similar data as vmstat
8 from DTrace. This program is intended as a starting point for other
9 DTrace scripts, by beginning with familiar statistics.
10
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
13 .SH OS
14 Solaris
15 .SH STABILITY
16 unstable - uses various kernel symbols.
17 .SH EXAMPLES
18 .TP
19 Print virtual memory statistics every second,
20
21 .B vmstat-p.d
22 .PP
23 .SH FIELDS
24 .TP
25 swap
26 virtual memory free, Kbytes
27 .TP
28 free
29 free RAM, Kbytes
30 .TP
31 re
32 page reclaims, Kbytes
33 .TP
34 mf
35 minor faults, Kbytes
36 .TP
37 sr
38 scan rate, pages
39 .TP
40 epi
41 executable page ins, Kbytes
42 .TP
43 epo
44 executable page outs, Kbytes
45 .TP
46 epf
47 executable frees, Kbytes
48 .TP
49 api
50 anonymous page ins, Kbytes
51 .TP
52 apo
53 anonymous page outs, Kbytes
54 .TP
55 apf
56 anonymous frees, Kbytes
57 .TP
58 fpi
59 filesystem page ins, Kbytes
60 .TP
61 fpo
62 filesystem page outs, Kbytes
63 .TP
64 fpf
65 filesystem frees, Kbytes
66 .PP
67 .SH NOTES
68 Most of the statistics are in units of kilobytes, unlike the
69 original vmstat command which sometimes uses page counts.
70
71 As this program does not use Kstat, there is no summary since boot line.
72
73 Free RAM is both free free + cache free.
74 .PP
75 .SH DOCUMENTATION
76 See the DTraceToolkit for further documentation under the 
77 Docs directory. The DTraceToolkit docs may include full worked
78 examples with verbose descriptions explaining the output.
79 .SH EXIT
80 vmstat-p.d will run until Ctrl\-C is hit. 
81 .SH AUTHOR
82 Brendan Gregg
83 [Sydney, Australia]
84 .SH SEE ALSO
85 vmstat(1M), dtrace(1M)