Changes

Pftop interactive mode

1,894 bytes added, 4 February
Created page with "When pftop is running in interactive mode, it reads commands from the terminal and acts upon them accordingly. In this mode, the terminal is put in CBREAK, so that a charac..."
When pftop is running in interactive mode, it reads commands from the terminal and acts upon them accordingly. In this mode, the terminal is put in CBREAK, so that a character will be processed as soon as it is typed. The command will be processed and the display will be updated immediately thereafter (reflecting any changes that the command may have triggered). If a key is pressed while pftop is in the middle of updating the display, it will finish the update and then process the command. These commands are currently recognized: c Enable disable state caching (enabled by default). f Set the state filter expression. h,? Display a summary of the commands (help screen). n Set number of lines to display. o Select next sorting Order. p Pause/resume display updates. q Quit pftop. r Reverse current sorting order. s Set display update interval in Seconds. v Select next View. 0-7 Select one of the views directly. Cursor Scroll display (up/down), and switch views (left/right). Most of the emacs/mg motion keys work as well. SPACE Update display immediately. CTRL-L Refresh display. CTRL-G Clear command entry line. The following keys are shortcuts for sorting the display: A Sort states by Age. B Sort states by number of Bytes. D Sort by Destination port. E Sort states by Expiry time. F Sort by source address (From). K Sort by peaK speed when caching is enabled. N No ordering. P Sort states by the number of Packets. R Sort by instantaneous speed (Rate) when caching is enabled. S Sort by Source port. T Sort by destination address (To).
Bureaucrat, administrator
16,192
edits