Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 19 lines (13 sloc) 0.439 kb
ac92a63 @agentzh initial checkin. tested on Solaris 11 Express 2010_11 (i386).
authored
1 #!/usr/sbin/dtrace -s
2
3 #pragma D option quiet
4
5 BEGIN {
6 printf("Tracing. Hit CTRL-C to stop.\n");
7 }
8
9 ngx_http*:::request-start
10 {
11 printf("start: %s -> %s (id %d, %s?%s)\n", args[0]->ci_remote, args[0]->ci_local, args[1]->ri_id, args[1]->ri_uri, args[1]->ri_args)
12 }
13
14 ngx_http*:::request-done
15 {
16 printf("done: %s -> %s (id %d, %s?%s)\n", args[0]->ci_remote, args[0]->ci_local, args[1]->ri_id, args[1]->ri_uri, args[1]->ri_args)
17 }
18
Something went wrong with that request. Please try again.