]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/swapinfo.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 / swapinfo.d.1m
1 .TH swapinfo.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 swapinfo.d \- print virtual memory info. Uses DTrace.
4 .SH SYNOPSIS
5 .B swapinfo.d
6 .SH DESCRIPTION
7 Prints swap usage details for RAM and disk based swap.
8
9 This script is UNDER CONSTRUCTION, check for newer versions.
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 FIELDS
18 .TP
19 RAM Total
20 Total RAM installed
21 .TP
22 RAM Unusable
23 RAM consumed by the OBP and TSBs
24 .TP
25 RAM Kernel
26 Kernel resident in RAM (and usually locked)
27 .TP
28 RAM Locked
29 Locked memory pages from swap (Anon)
30 .TP
31 RAM Used
32 anon + exec + file pages used
33 .TP
34 RAM Free
35 free memory + page cache free
36 .TP
37 Disk Total
38 Total disk swap configured
39 .TP
40 Disk Resv
41 Disk swap allocated + reserved
42 .TP
43 Disk Avail
44 Disk swap available for reservation
45 .TP
46 Swap Total
47 Total Virtual Memory usable
48 .TP
49 Swap Resv
50 VM allocated + reserved
51 .TP
52 Swap Avail
53 VM available for reservation
54 .TP
55 Swap MinFree
56 VM kept free from reservations
57 .PP
58 .SH EXAMPLES
59 .TP
60 Print info,
61
62 .B swapinfo.d
63 .PP
64 .SH DOCUMENTATION
65 See the DTraceToolkit for further documentation under the 
66 Docs directory. The DTraceToolkit docs may include full worked
67 examples with verbose descriptions explaining the output.
68 .SH ADDITIONAL RESOURCES
69 swapstat - K9Toolkit
70
71 vmstat 1 2; swap -s; echo ::memstat | mdb -k
72
73 RMCmem - The MemTool Package
74
75 RICHPse - The SE Toolkit
76
77 "Clearing up swap space confusion" Unix Insider, Adrian Cockcroft
78
79 "Solaris Internals", Jim Mauro, Richard McDougall
80
81 /usr/include/vm/anon.h, /usr/include/sys/systm.h
82
83 .SH AUTHOR
84 Brendan Gregg
85 [Sydney, Australia]
86 .SH SEE ALSO
87 dtrace(1M)
88