📄 startstop.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"><HTML><HEAD><TITLE>Starting and Stopping IPTraf</TITLE><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.64"><LINKREL="HOME"TITLE="IPTraf User's Manual"HREF="manual.html"><LINKREL="UP"TITLE="Getting Started"HREF="gettingstarted.html"><LINKREL="PREVIOUS"TITLE=" Upgrading from Earlier Versions"HREF="upgrading.html"><LINKREL="NEXT"TITLE="Command-line Options"HREF="cmdline.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">IPTraf User's Manual</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="upgrading.html"><<< Previous</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Getting Started</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="cmdline.html">Next >>></A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="STARTSTOP">Starting and Stopping IPTraf</A></H1><P> After installation, you can start the program by simply entering</P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SYNOPSIS">iptraf</PRE></TD></TR></TABLE><P> at the shell prompt. You will see a copyright notice, with an instruction to press any key to get started. Just press any character key, and you will be immediately taken to the main menu. All major functions of the program are found there.</P><P> Entering the IPTraf command without any command-line parameters brings up the program's main menu. From there, you can select the facilities you want.</P><P> IPTraf determines and makes use of the maximum number of lines and columns on the terminal.</P><DIVCLASS="NOTE"><P></P><TABLECLASS="NOTE"WIDTH="100%"BORDER="0"><TR><TDWIDTH="25"ALIGN="CENTER"VALIGN="TOP"><IMGSRC="./stylesheet-images/note.gif"HSPACE="5"ALT="Note"></TD><THALIGN="LEFT"VALIGN="CENTER"><B>Note</B></TH></TR><TR><TD> </TD><TDALIGN="LEFT"VALIGN="TOP"><P> IPTraf does not yet have a SIGWINCH handler, and does not adjust itself when an xterm or some other X terminal is resized.</P></TD></TR></TABLE></DIV><DIVCLASS="NOTE"><P></P><TABLECLASS="NOTE"WIDTH="100%"BORDER="0"><TR><TDWIDTH="25"ALIGN="CENTER"VALIGN="TOP"><IMGSRC="./stylesheet-images/note.gif"HSPACE="5"ALT="Note"></TD><THALIGN="LEFT"VALIGN="CENTER"><B>Technical note</B></TH></TR><TR><TD> </TD><TDALIGN="LEFT"VALIGN="TOP"><P> IPTraf needs to refer to the terminfo databasein <TTCLASS="FILENAME">/usr/share/terminfo</TT>. If the supplied executable program fails with <TTCLASS="COMPUTEROUTPUT">Erroropening terminal</TT>, your terminfo database may be located somewhere else. You can control the terminfo search pathby using the <TTCLASS="ENVAR">TERMINFO</TT> environment variable. For example, if you're using the <BCLASS="COMMAND">sh</B>or <BCLASS="COMMAND">bash</B> shell, and your terminfo database is in <TTCLASS="FILENAME">/usr/lib/terminfo</TT> (typical for Slackware distributions), you can use the commands: </P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SYNOPSIS">TERMINFO=/usr/lib/terminfoexport TERMINFO</PRE></TD></TR></TABLE><P> You can place these commands in your <TTCLASS="FILENAME">~/.profile</TT> or the systemwide <TTCLASS="FILENAME">/etc/profile</TT> startup files.</P><P> You can also create a symbolic link named <TTCLASS="FILENAME">/usr/share/terminfo</TT> to let it point to your existing terminfo (assuming again your terminfo is in <TTCLASS="FILENAME">/usr/lib/terminfo</TT>):</P><TABLEBORDER="0"BGCOLOR="#E0E0E0"WIDTH="100%"><TR><TD><PRECLASS="SYNOPSIS">ln -s /usr/lib/terminfo /usr/share/terminfo</PRE></TD></TR></TABLE><P> 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.</P></TD></TR></TABLE></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLEWIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="upgrading.html"><<< Previous</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="manual.html">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="cmdline.html">Next >>></A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">Upgrading from Earlier Versions</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="gettingstarted.html">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Command-line Options</TD></TR></TABLE></DIV></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -