📄 faq
字号:
This is the beginning of a FAQ for IPTraf.---Q: Could you include support for <this-and-that> interface?A: Please read the README.interfaces file for what is needed for a newinterface type to be supported.Q: I try to start IPTraf but it tells me that <facility> is already activein another process. But I'm sure IPTraf isn't running at the time!A: Probably due to a faulty installation or abnormal termination. Ifyou're sure you've installed the software properly, you may have stalelock files from a previous abort. Just issue the iptraf command with the-f parameter (iptraf -f). This will override stale locks and IPTraf shouldproceed normally.Q: I want to configure IPTraf but it tells me only the first instance canconfigure.A: Similar to the previous question. Issue the iptraf command with the -fparameter.NOTE: Versions prior to 2.6.2 did not properly erase stale lock fileswhen IPTraf aborted due to an insufficient screen size.Q: Is there a way to make IPTraf run in the background and collectstatistics to a log file?A: Prior to 2.1.0, there was no elegant way of doing so. Version 2.1.0and later have the -B command-line parameter to force IPTraf to dump allits screen output into oblivion and move into the background. See themanual for details on background operation.Q: I get the error message "Unable to open raw socket".A: If you're using IPTraf 2.x, you must be running version 2.2.x of theLinux kernel. Furthermore, the "Packet Socket" driver must be installed.Most stock kernels include this driver already. Be sure to include it ifyou're compiling a custom kernel.Q: I'm getting a "cannot allocate memory" error but I've got loads ofmemory available.A: The "cannot allocate memory" error is a reponse to the "segmentationfault" condition (SIGSEGV). If you're sure it's not a memory condition onyour machine, please report it to me, and if possible, include a gdb traceor strace output to help me debug.Q: Is there Web/HTTP/HTML/whatever version available?A: I've received several requests for this one. Perhaps in time, I'vebeen caught up in some work and some personal stuff. Suggestions onimplementation of such a feature are welcome. (Addition: I hope to getthis incorporated into the next major release. Who knows? If I have thetime, I might be able to WAP it in the near future :))Q: It would be great if the statistics could be sorted.A: As of version 2.3, sorting is now available with the IP trafficmonitor, TCP/UDP statistical breakdown, and LAN station monitor. Sortingis invoked by pressing the S key and selecting a sort criterion.(Note: version 2.5.0 now sorts the entries with the Quicksortalgorithm, which significantly cuts down the time to sort.)Q: I want to run IPTraf from a Secure Shell terminal but the output of theprogram causes a heavy load on the network. What should I do?A: The output of the program is returned over the network, which in turntells IPTraf about the new traffic, which IPTraf then outputs, which isthen sent over the network... in other words, it's a feedback effect. Thesolution to this is to set the screen update interval to 1 second or more.To do that, go to Configuration... then select Timers... then Screenupdate interval... and enter the interval value in seconds. One secondshould be fine.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -