Hands-on task
Checkout latency p95
/var/log/checkout/latency_ms.txt has 130 checkout times in ms, one per line, in random order. Compute the 95th percentile using the nearest-rank method: sort in ascending order and take the element number ceil(0.95 × N) (numbering from 1). Write the number to /root/checkout_p95.txt.
- p95 percentile
- nearest-rank
- ceil
- sort -n
- awk