Unix challenges

Have fun! Submit new challenges and solutions to old ones to unix@current_domain. You should replace current_domain with enpo.no :)

Challenge 1: When is httpd the most busy?

2018-08-26 19:23:30 — Adrian Kjær Dalhaug

We must find the minute with the most bytes tranferred. Read from ./input.txt.

Input example


in24.inetnebr.com - - [01/Aug/1995:00:00:01 -0400] "GET /shuttle/missions/sts-68/news/sts-68-mcc-05.txt HTTP/1.0" 200 1839

The bytes transferred is the last field on each line. In this case: 1839 bytes.

Output format


date_string_with_minute_precision bytes_transferred

Example output


01/Aug/1995:00:18 84688