]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/sar-c.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 / sar-c.d.1m
1 .TH sar\-c.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 sar\-c.d \- sar \-c demo in DTrace. Uses DTrace.
4 .SH SYNOPSIS
5 .B sar\-c.d
6 .SH DESCRIPTION
7 This has been written to demonstrate fetching the same data as sar \-c
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 stable - needs the syscall and sysinfo providers.
17 .SH EXAMPLES
18 .TP
19 Print system call counts every second,
20
21 .B sar\-c.d
22 .PP
23 .SH FIELDS
24 .TP
25 scall/s
26 System calls
27 .TP
28 sread/s
29 reads
30 .TP
31 swrit/s
32 writes
33 .TP
34 fork/s
35 forks
36 .TP
37 exec/s
38 execs
39 .TP
40 rchar/s
41 read characters
42 .TP
43 wchar/s
44 write characters
45 .PP
46 .SH IDEA
47 David Rubio, who also wrote the original.
48 .PP
49 .SH NOTES
50 As this program does not use Kstat, there is no summary since boot line.
51 .PP
52 .SH DOCUMENTATION
53 See the DTraceToolkit for further documentation under the 
54 Docs directory. The DTraceToolkit docs may include full worked
55 examples with verbose descriptions explaining the output.
56 .SH EXIT
57 sar\-c.d will run until Ctrl\-C is hit. 
58 .SH AUTHOR
59 Brendan Gregg
60 [Sydney, Australia]
61 .SH SEE ALSO
62 sar(1M), dtrace(1M)