1N/A * httpdstat.d - realtime httpd statistics. Uses DTrace. 1N/A * $Id: httpdstat.d 2 2007-08-01 10:01:43Z brendan $ 1N/A * USAGE: httpdstat.d [interval [count]] 1N/A * count number of samples 1N/A * NUM Number of connections 1N/A * GET Number of "GET"s 1N/A * POST Number of "POST"s 1N/A * HEAD Number of "HEAD"s 1N/A * TRACE Number of "TRACE"s 1N/A * All of the statistics are printed as a value per interval (not per second). 1N/A * NOTE: This version does not process subsequent operations on keepalives. 1N/A * IDEA: Ryan Matteson (who first wrote a solution to this). 1N/A * COPYRIGHT: Copyright (c) 2005 Brendan Gregg. 1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License, Version 1.0 only 1N/A * (the "License"). You may not use this file except in compliance 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * 20-Nov-2005 Brendan Gregg Created this. 1N/A printf(
"%-20s %6s %6s %5s %5s %5s\n",
"TIME",
1N/A "NUM",
"GET",
"POST",
"HEAD",
"TRACE");
1N/A * Track Accept Events