1 .TH vmstat.d 1m "$Date:: 2007-08-05 #$" "USER COMMANDS"
3 vmstat.d \- vmstat demo in DTrace. Uses DTrace.
7 This has been written to demonstrate fetching the same data as vmstat
8 from DTrace. This program is intended as a starting point for other
9 DTrace scripts, by beginning with familiar statistics.
11 Since this uses DTrace, only the root user or users with the
12 dtrace_kernel privilege can run this command.
16 unstable - uses various kernel symbols.
19 Print virtual memory statistics every second,
26 swapped out light weight processes
29 virtual memory free, Kbytes
59 context switches, number
62 Most of the statistics are in units of kilobytes, unlike the
63 original vmstat command which sometimes uses page counts.
65 As this program does not use Kstat, there is no summary since boot line.
67 Free RAM is both free free + cache free.
70 See the DTraceToolkit for further documentation under the
71 Docs directory. The DTraceToolkit docs may include full worked
72 examples with verbose descriptions explaining the output.
74 vmstat.d will run until Ctrl\-C is hit.
79 vmstat(1M), dtrace(1M)