[ARGUS] Invert sorting using RA_SORT_ALGORITHMS ?

Eric Kinzie eric at qosient.com
Mon Feb 11 13:27:33 EST 2019


On Mon Feb 11 12:57:46 -0500 2019, Drew Dixon wrote:
> Hi there,
> 
> Somewhat straightforward question here, but was unable to find it in the
> docs (forgive me if I missed it) but is there a way to invert the sort on a
> field using the RA_SORT_ALGORITHMS="field" parameter?
> 
> I'm looking to do this with ratop...and would like to sort based on flow
> duration (runtime) however it seems to sort in ascending order of flow
> duration by default so I'm just stuck with a ton of 0.000 flows at the top
> of ratop rather than what I desire which would be descending order so I can
> see the longest running flows at the top.
> 
> RA_SORT_ALGORITHMS="runtime"
> 
> Just for fun I tried RA_SORT_ALGORITHMS="-runtime" but that's not supported
> it seems.
> 
> Thanks!
> 
> -Drew

If you press 'v' in ratop the sort order will be reversed.  Not
sure if there is a way to specify order with RA_SORT_ALGORITHMS.

Eric


More information about the argus mailing list