awk -F '"' '{url[$16]++}END{for(i in url)print i,url[i]}' localhost_access_log.2018-04-28.txt |awk'{print$3}'|sort|uniq -c|sort
awk -F'"' '{ sum += $(NF-1); } END { print "sum = " sum; print "average = " sum/NR }' localhost_access_log.2018-04-28.txt
awk -F '"' '{url[$16]++}END{for(i in url)print i,url[i]}' localhost_access_log.2018-04-28.txt |awk'{print$3}'|sort|uniq -c|sort
awk -F'"' '{ sum += $(NF-1); } END { print "sum = " sum; print "average = " sum/NR }' localhost_access_log.2018-04-28.txt