Search This Blog

Tuesday, September 18, 2018

sort access_log file and find out the no of requests to each service

sort access_log file and find out the no of requests to each service
Use the command to

C:\cygwin64\bin\gawk '{print $7}'  E:\tars-download\osb_server2_access.log | C:\cygwin64\bin\sort.exe | C:\cygwin64\bin\uniq.exe -c | C:\cygwin64\bin\sort.exe -nr  | head -20

These are the top 20 Proxy services that are called multiple times

20618 /xxx
  20533 /xxx1
  15022 /xxx3
 ..
..


Tags: Publish
September 18, 2018 at 11:55AM
Open in Evernote

No comments: