Translate

Archives

Not your Grandfather's dd Utility!

A recent article in Red Hat Magazine by Noah Gift and Grig Gheorghiu called “This isn’t your grandpappy’d dd command demonstrated how to use Python, the dd utility and the Google Chart API to produce a bar chart showing throughput at different block sizes. However the output from the Python script was not the actual graph but a URL which you then had to paste into a Web browser to view the resulting chart. I though this script would be useful but did not want to have to cut and paste a URL into a Web browser so I decided

Convert Date TimeZone in Apache Server Log

This post demonstrates how to change date/time strings in an Apache web server log file from GMT/UTC to PST using the Python pytz module.