]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - cddl/contrib/dtracetoolkit/Man/man1m/weblatency.d.1m
MFC r368207,368607:
[FreeBSD/stable/10.git] / cddl / contrib / dtracetoolkit / Man / man1m / weblatency.d.1m
1 .TH weblatency.d 1m  "$Date:: 2007-08-05 #$" "USER COMMANDS"
2 .SH NAME
3 weblatency.d \- website latency statistics. Uses DTrace.
4 .SH SYNOPSIS
5 .B weblatency.d
6 .SH DESCRIPTION
7 This prints statistics for hostnames that browers have set GET requests 
8 for, in particular latency by hostname.
9
10 The latency measured is from the browser sending the GET
11 request to when the browser begins to recieve the response. It
12 is an overall response time for the client, and encompasses
13 connection speed delays, DNS lookups, proxy delays, and web server
14 response time.
15
16 This is written as an experimental tool, and may not work at all with
17 your browser.
18
19 Since this uses DTrace, only the root user or users with the
20 dtrace_kernel privilege can run this command.
21 .SH OS
22 Solaris
23 .SH STABILITY
24 unstable - depends on browser implementation.
25 .SH EXAMPLES
26 .TP
27 Print report after Ctrl-C is hit,
28
29 .B weblatency.d
30 .PP
31 .SH FIELDS
32 .TP
33 HOST
34 hostname from URL
35 .TP
36 NUM
37 number of GETs
38 .TP
39 AVGTIME(ms)
40 Average time for response, ms
41 .TP
42 MAXTIME(ms)
43 Maximum time for response, ms
44 .PP
45 .SH NOTES
46 See the source code for the "BROWSER" variable, which sets the browser
47 to trace (currently set to "mozilla-bin").
48 .PP
49 .SH IDEA
50 Bryan Cantrill (who wrote an elegant version for Sol 10 update 1)
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 weblatency.d will sample until Ctrl\-C is hit.
58 .SH AUTHOR
59 Brendan Gregg
60 [Sydney, Australia]
61 .SH SEE ALSO
62 dtrace(1M)
63