x

Programs, configuration and documentation that don't fit anywhere else
Log | Files | Refs | README | LICENSE

hits (190B)


      1 #!/usr/bin/awk -f
      2 
      3 # skip requests with bad method
      4 /<UNKNOWN>/ {
      5 	next
      6 }
      7 
      8 {
      9 	host = $1
     10 	path = host $8
     11 	hits[path]++
     12 }
     13 
     14 END {
     15 	for (path in hits) {
     16 		printf "%d %s\n", hits[path], path
     17 	}
     18 }