|
|
|
Search result for: 'function'
1 matches
- 1. awk 95th percentile
-
95th percentile tends to be a more accurate representation when capacity planning because the top 5% of largest numbers are discarded. Unlike calculating a straight average/mean which would inlude these numbers and skew the results.
cat dataset.txt | sort -n | awk 'BEGIN{c=0} {total[c]=$1; c++;} END{print total[int(NR*0.95-0.5)]}'
-0.5 because...
141 Views... More...
|
 |