Hands-on task
This task is step 13 of the course “Monitoring and metrics”
Response time p95
In /root/latency.txt there is one number per line (a little over a hundred values — response times in ms). Compute the 95th percentile using the nearest-rank method (sort ascending, index = ceil(0.95 × N)) and write it to /root/p95.txt.
What you'll practise:
- p95 percentile
- nearest-rank
- sort -n
- awk
- ceil