{"id":111,"date":"2011-04-10T20:12:33","date_gmt":"2011-04-11T00:12:33","guid":{"rendered":"http:\/\/www2.rfdm.com\/blog\/?p=111"},"modified":"2011-04-10T20:12:33","modified_gmt":"2011-04-11T00:12:33","slug":"web-site-traffic-monitoring-part-1","status":"publish","type":"post","link":"https:\/\/www.rfdm.com\/blog\/?p=111","title":{"rendered":"web site traffic monitoring: part 1"},"content":{"rendered":"<p>Last weekend I wrote a simple program to store traffic statistics (packets and bytes for both input and output) for port 80 of my new web server.  Actually, any pcap filter expression can be used, I just happen to only be tracking port 80 at the moment.  I save data every 5 minutes.<\/p>\n<p>This weekend I spent a little time writing an application using <a href=\"http:\/\/www.webtoolkit.eu\/wt\">Wt<\/a> to graph the traffic data.  The graph works, but it needs some cleanup.  In the process, I wound up making some changes to the Wt::Chart classes because it didn&#8217;t let me use the desired colors for axis labels, titles and legend text.  I&#8217;ll have to check these changes into my repository so I can diff them and send a patch to the Wt author.<\/p>\n<p>I now just need some utility classes and functions to allow graphing various time periods of interest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last weekend I wrote a simple program to store traffic statistics (packets and bytes for both input and output) for port 80 of my new web server. Actually, any pcap filter expression can be used, I just happen to only be tracking port 80 at the moment. I save data every 5 minutes. This weekend &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.rfdm.com\/blog\/?p=111\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;web site traffic monitoring: part 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[45,44,42],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-software-development","category-web-development","tag-graph","tag-traffic","tag-wt"],"_links":{"self":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=111"}],"version-history":[{"count":1,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":112,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/112"}],"wp:attachment":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}