12345678910111213141516 |
- awk '{print $7"\t"$9"\t"$10}' access.log | head -n 1
- /sbw/ent/to 200 8130
- #某时段浏量
- awk 'BEGIN{sum=0}/2018:14/{sum+=$10}END{print sum/1024/1024"M"}' access.log
- awk '/2018:14/{split($7, myurl, "?");print myurl[1];}' access.log | sort | uniq -c | sort -rn | head -10
- awk '/2018:14.*upload\/card\/.*\.jpg/{sum+=$10}END{print sum/1024/1024"M"}' access.log
- awk '/2018:10.*upload\/card\/.*\.jpg/{print $1"\t"$7"\t"$10}' access.log
|