I want to measure incoming/outgoing HTTP traffic in bytes.
Seems simple using the examples in  Brendan's DTrace book talks.
HTTP is discussed  starting on p609.

There is a data structure that looks great:

typedef struct {
string hri_uri; /* uri requested */
string hri_user; /* authenticated user */
string hri_method; /* method name (GET, POST, ...) */
string hri_useragent; /* "User-agent" header (browser) */
uint64_t hri_request; /* request id, unique at a given time */
u*int64_t hri_bytesread; /* bytes SENT to the client */*
*uint64_t hri_byteswritten; /* bytes RECEIVED from the client */*
uint32_t hri_respcode; /* response code */
} http_reqinfo_t;


but I don't see it on illumos:

http://src.illumos.org/source/search?q=&project=illumos-gate&defs=http_reqinfo_t&refs=&path=&hist=


Nor do I see any http probes as mentioned int he examples

$ sudo dtrace -ln 'http*:::'
   ID   PROVIDER            MODULE                          FUNCTION NAME
dtrace: failed to match http*:::: No probe matches description


Looking for any pointers on measuring http traffic.


-- 
- Kyle

O: +1.415.341.3430
F: +1.650.494.1676
275 Middlefield Road, Suite 50
Menlo Park, CA 94025
http://www.delphix.com

<<image.png>>

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to