Lets say I have a log file from a web server with response times per request:
_1st_request 1334
_2nd_request 345
_3rd_request 244
_4th_request 648
......... etc
Is there an easy way with bash scripting to find the top decile (10-quantile)? In other words to answer the question: How slow was the slowest request if I exclude the slowest 10% of requests?