Hands-on task
This task is step 12 of the course “Monitoring and metrics”
Median response time
In /root/times.txt there's one number per line — the response time in ms. Find the median (the number of values is odd — it's the middle element of the sorted values) and write it to /root/median.txt.
What you'll practise:
- median
- sort -n
- awk
- percentiles
- numeric sort