⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.bak

📁 适用于linux2.4版本内核的pppoe监控程序源代码
💻 BAK
字号:
pppoem-0.2                                     Thomas Schmitt scdbackup@gmx.netPppoem monitors the DSL connection of a Linux kernel 2.4.4by reading the files /proc/net/pppoe and /proc/net/dev .(For older kernels one may skip /proc/net/pppoe by use of option -pretend "on" .)There is a X11 version 'xpppoem' and a text only version 'pppoem'.See files  pppoem_helptext  and  xpppoem_helptext  for details.For the X11 version there also is a manpage xpppoem_dir/xpppoem.1                            InstallationUnpack the software components by :  tar xvzf pppoem-0.1.tar.gzTo compile the text version execute in the pppoem-0.1 directory :  makeand afterwards copy the file pppoem to a directory where it can be foundby your shell. See output of : echo $PATHExample (you will need to be superuser for that) :  cp pppoem /usr/local/binTo compile the X11 version execute   make xpppoemand copy file xpppoem_dir/xpppoem  to a directory where it can be foundby your shell. Example :  cp xpppoem_dir/xpppoem /usr/local/binCopy the file xpppoem_dir/XPppoem to the app-defaults directory. Example :  cp xpppoem_dir/XPppoem /usr/X11R6/lib/X11/app-defaultsCopy the file xpppoem_dir/xpppoem.1 to the man1 directory of a directorylisted in variable $MANPATH. Example :  cp xpppoem_dir/xpppoem.1 /usr/share/man/man1                               Usage examplesMonitor the DSL connection by text lines :  pppoemMonitor the DSL connection by text lines and a histogram window :  xpppoemMonitor the DSL connection by histogram window only :  xpppoem -report off &Monitor the DSL connection with typical xisdnload colors :  xpppoem -report off -offline green -online red -busy off &Monitor and log state changes in $HOME/dsl_logfile :  xpppoem | tee -a -i $HOME/dsl_logfileMonitor your LAN running on eth1 :  pppoem -dev_name eth1 -pretend onAn empty window at the upper right corner of the screen indicating throughputby color change from light blue to pink  xpppoem -geometry 100x100-0+0 -nolabel -nograph \          -report off -online '#8080ff' -busy '#ffa0a0' &A remote pppoem reporting to a local xpppoem . You will possibly not seethe password prompt due to xpppoem's startup messages. Toggle in yourpassword as usual with your ssh connection.  ssh thomas@ts2 pppoem -report forward | xpppoem -listen_stdin on -title ts2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -