After installation, you can start the program, as root, by simply entering
iptraf-ng
Entering the IPTraf-ng command without any command-line parameters brings up the program's main menu. From there, you can select the facilities you want.
IPTraf-ng determines and makes use of the maximum number of lines and columns on the terminal.
Note | |
---|---|
IPTraf-ng does not have a SIGWINCH handler; it does not adjust itself when an xterm or some other X terminal is resized. |
Technical note | |
---|---|
IPTraf-ng needs to refer to the terminfo database
in /usr/share/terminfo.
If the supplied executable program fails with Error
opening
terminal, your terminfo database may be located somewhere else. You can
control the terminfo search path
by using the TERMINFO=/usr/lib/terminfo export TERMINFO You can place these commands in your ~/.profile or the systemwide /etc/profile startup files. You can also create a symbolic link named /usr/share/terminfo to let it point to your existing terminfo (assuming again your terminfo is in /usr/lib/terminfo): ln -s /usr/lib/terminfo /usr/share/terminfo Or you can recompile your program to use your existing ncurses library installation. If you do this, make sure you have ncurses 4.2 or later. |