Guest User

Untitled

a guest
Dec 10th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. logdir_8080='/opt/product/apachetomcat/8.5.5_8080/logs'
  2. cd "$logdir_8080"
  3.  
  4. get_file=`ls -rt localhost_access_log.*.txt|tail -1`
  5.  
  6. cat $get_file | tail -1000 | grep "objectId" | awk -F 'HTTP/1.1" 200' '{
  7. print $2}'|awk -F' ' '{ print $2 }' | sort - n>/opt/product/apachetomcat/apm/epagent/epaplugins/centrica/correspondence_log_files/8080.txt
Add Comment
Please, Sign In to add comment