Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Get last word of every line (response time )
- ```
- awk 'NF>1{print $NF}' file
- ```
- # Percentile
- ```
- sort -n responsetime | awk '{all[NR] = $0} END{print all[int(NR*0.99 - 0.1)]}'
- sort -n responsetime | awk '{all[NR] = $0} END{print all[int(NR*0.999 - 0.01)]}'
- ```
- # Max
- ```
- cat filename | sort -n | tail -1
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement