]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/httpdstat.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 / httpdstat.d.1m
1 .TH httpdstat.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 httpdstat.d \- realtime httpd statistics. Uses DTrace.
4 .SH SYNOPSIS
5 .B httpdstat.d
6 [interval [count]]
7 .SH DESCRIPTION
8 This prints connection statistics for "httpd" processes, such as those
9 from an Apache web server.
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 provider.
17 .SH EXAMPLES
18 .TP
19 Print statistics every second,
20
21 .B httpdstat.d
22 .TP
23 Print every 5 seconds, 6 times,
24 #
25 .B httpdstat.d
26 5 6
27 .PP
28 .SH FIELDS
29 .TP
30 TIME
31 time, string
32 .TP
33 NUM
34 number of connections
35 .TP
36 GET
37 number of GETs
38 .TP
39 POST
40 number of POSTs
41 .TP
42 HEAD
43 number of HEADs
44 .TP
45 TRACE
46 number of TRACEs
47 .PP
48 .SH NOTES
49 All statistics are printed as a value per interval.
50
51 This version does not process subsequent operations on keepalives.
52 .PP
53 .SH IDEA
54 Ryan Matteson
55 (who first wrote a solution to this).
56 .PP
57 .SH DOCUMENTATION
58 See the DTraceToolkit for further documentation under the 
59 Docs directory. The DTraceToolkit docs may include full worked
60 examples with verbose descriptions explaining the output.
61 .SH EXIT
62 httpdstat.d will run until Ctrl\-C is hit.
63 .SH AUTHOR
64 Brendan Gregg
65 [Sydney, Australia]
66 .SH SEE ALSO
67 dtrace(1M)