ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



httpdstat.d(1m)                                 USER COMMANDS                                httpdstat.d(1m)



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 the root user or users with the dtrace_kernel privilege 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 directory. The DTraceToolkit docs  may
       include full worked examples with verbose 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(1m)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.