Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- logdir_8080='/opt/product/apachetomcat/8.5.5_8080/logs'
- cd "$logdir_8080"
- get_file=`ls -rt localhost_access_log.*.txt|tail -1`
- cat $get_file | tail -1000 | grep "objectId" | awk -F 'HTTP/1.1" 200' '{
- 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