httpdstat.d(1) USER COMMANDS httpdstat.d(1)
NAME
httpdstat.d - realtime httpd statistics. Uses DTrace.
SYNOPSIS
httpdstat.d [interval [count]]
DESCRIPTION
This prints connection statistics for "httpd" processes, such as those from an Apache web server. Since this uses DTrace, only users with root privileges can run this command.
EXAMPLES
Print statistics every second, # httpdstat.d Print every 5 seconds, 6 times, # httpdstat.d 5 6
FIELDS
TIME time, string NUM number of connections GET number of GETs POST number of POSTs HEAD number of HEADs TRACE number of TRACEs
NOTES
All statistics are printed as a value per interval. This version does not process subsequent operations on keepalives.
IDEA
Ryan Matteson (who first wrote a solution to this).
DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs direc- tory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output.
EXIT
httpdstat.d will run until Ctrl-C is hit.
AUTHOR
Brendan Gregg [Sydney, Australia]
SEE ALSO
dtrace(1M) version 0.70 Nov 20, 2005 httpdstat.d(1)
Mac OS X 10.6 - Generated Thu Sep 17 20:07:50 CDT 2009