Previous       Contents       Next

nifsort-b and nifsort-p

These are two simple scripts, for post-processing a niftap frequency file, and making it easier to spot the peaks in network traffic.

nifsort-b rewrites the frequency file, sorted in order of decending bytes/sec traffic levels, ie. the line representing the time interval which saw the heaviest traffic as measured by the bytes/second column, will be printed first.

nifsort-p is similiar, except that it sorts the frequency file on the packets/second column.

They both take a single argument, which is the pathname of a niftap frequency file, and they write the sorted file to their standard output.
eg. nifsort-b eth.frq > eth.frq.b