PfTop view



  • How can i change view of pfTop from 80 to 120 column ?

    Sample:

    80 column:

    pfTop: Up State 1-3/64, View: default, Order: none

    PR  DIR SRC                  DEST                STATE  AGE  EXP  PKTS BYTES
    icmp Out 192.168.100.32:361  192.168.100.22:361    0:0      9    1    2    96
    icmp Out 192.168.100.32:361  192.168.100.23:361    0:0      9    1    2    96
    tcp  In  192.168.100.7:1029  192.168.100.32:443    4:4  4165 86302 25871 9251K

    120 column:

    pfTop: Up State 1-3/68, View: default, Order: none

    PR  DIR SRC                      DEST                              STATE                AGE      EXP    PKTS    BYTES
    tcp  In  192.168.100.1:1029      192.168.100.32:80        ESTABLISHED:ESTABLISHED  01:12:52  23:58:55    25873  9473801
    tcp  In  192.168.100.9:38474      192.168.100.32:25        ESTABLISHED:ESTABLISHED  00:02:47  24:00:00      193  140803
    tcp  In  192.168.100.12:1031      192.168.100.32:110      ESTABLISHED:ESTABLISHED  06:27:26  23:55:31    37249 15556515


  • Rebel Alliance Developer Netgate

    If you're running it from the command line, pftop -w 120



  • Thanks for reply, but i mean that type of view in web interface :) Could it be in the future?


  • Rebel Alliance Developer Netgate

    Probably not, since even the 80 column view spills over the page I doubt it would be added as a standard option.

    You could always edit the source of that page and add -w 120 to the command it runs…


Locked