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

📄 xpppoem.1

📁 适用于linux2.4版本内核的pppoe监控程序源代码
💻 1
字号:
.\" based on: $XConsortium: xload.man,v 1.29 94/04/17 20:43:44 matt Exp $.TH XPPPOEM 1 "Release 6" "X Version 11".SH NAMExpppoem \- pppoe throughput display for X.SH SYNOPSIS.ta 6n\fBxpppoem\fP [-\fItoolkitoption\fP ...] [-hl \fIcolor\fP] [-highlight \fIcolor\fP] [-offline \fIcolor\fP] [-online \fIcolor\fP] [-busy \fIcolor\fP] [-cps_range \fIinteger\fP] [-nolabel] [-unit \fIinteger\fP] [-scale \fIinteger\fP] [-update \fIseconds\fP] [-jumpscroll \fIpixels\fP] \fP.SH DESCRIPTIONThe .I xpppoem program monitors the DSL connection of a Linux kernel 2.4.4by reading the files /proc/net/pppoe and /proc/net/dev once a second.It prints a status report on stderr once per second and a changenotification on stdout each time the connection changes its state..SH OPTIONS.PP.I xpppoemaccepts all of the standard X Toolkit command line options (see \fIX(1)\fP).The order of the options is unimportant.  \fIxpppoem\fP also accepts thefollowing additional options:.PP.TP 8.B \-hl \fIcolor\fP or \-highlight \fIcolor\fPThis option specifies the color of the scale lines.  .TP 8.B \-offline \fIcolor\fPThis option specifies the background color when the connection is OFF.TP 8.B \-online \fIcolor\fPThis option specifies the background color when the connection is ON..TP 8.B \-busy \fIcolor\fPThis option enables indication of throughput by changing background colors.The given color will be shown at throughputs higher than -cps_range.The -online color will be shown at 0 cps throughput. Data rates between0 and -cps_range will show interpolated colors..TP 8.B \-show \fInumber:number:number\fPSet the numbers of samples to be shown for the three gliding averages shownin the status line. Default is 1:15:300 ..TP 8.B \-cps_range \fIinteger\fPThis option defines the data rate in characters per second at which the-busy color is shown. The default value is 90000..brNote: if this value is larger than the largest "-show" number, the eternalaverage of the connection determines the color..TP 8.B \-nolabelIf this command line option is specified then no label will bedisplayed above the histogram graph..TP 8.B \-nographIf this command line option is specified then no histogram but onlya plain color pad will be displayed..TP 8.B \-unit \fIinteger\fPThis option sets the data rate which represents one unit of the histogram.A unit is mapped to the width between two horizontal tick marks.The default value is 20000..TP 8.B \-scale \fIinteger\fPThis option specifies the minimum number of tick marks in the histogram,where one division represents one histogram unit.  If the throughput goesabove this number, \fIxpppoem\fP will create more divisions, but it will neveruse fewer than this number.  The default is 1..TP 8.B \-update \fIseconds\fPThis option specifies the interval in seconds at which \fIxpppoem\fPupdates its display.  The minimum amount of time allowed between updatesis 1 second.  The default is 10..TP 8.B \-jumpscroll \fPnumber of pixels\fPThe number of pixels to shift the graph to the left when the graphreaches the right edge of the window.  The default value is 1/2 the widthof the current window.  Smooth scrolling can be achieved by setting it to 1..TP 8.B \-dev_name \fPname\fPSet the name of the device line in /proc/net/dev which shallbe watched to obtain throughput information. If name is givenas "-" then it will be read from /proc/net/pppoe when theconnection is in state ON (this is the default setting)..TP 8.B \-pretend \fPon|off\fPIf set to "on" ignore /proc/net/pppoe and always watch in/proc/net/dev the device given with -dev_name . The state islike permanent ON but the -dev_name will get displayed instead.One may monitor non-pppoe net devices like "lo" or "eth1"this way. It might even work with older kernels..TP 8.B \-listen_stdin \fPon|off\fPIf set to "on" ignore /proc . Listen for message lines at stdinwith four fields :.br is_on , device_name , timestamp , count.bris_on:  0= OFF , 1= ON , 2= -pretend .brtimestamp: seconds since 1970..brcount: number of new bytes since the last message..brSee -report "forward" for example lines..TP 8.B \-report \fPon|off|forward\fPControl reporting on stdout and stderr. "off" disables allregular messages. "on" is the normal mode. "forward"prints messages to stdout suitable for -listen_stdin "on"..TP 8.B \-helpPrint a help text to stderr..PP.SH RESOURCESSee the resource file for the available resources..SH WIDGETSIn order to specify resources, it is useful to know the hierarchy ofthe widgets which compose \fIxpppoem\fP.  In the notation below,indentation indicates hierarchical structure.  The widget class nameis given first, followed by the widget instance name..sp.nf.ta .5i 1.0i 1.5i 2.0iXPppoem  xpppoem	    Paned  paned		    Label  label		    StripChart  load.fi.sp.SH ENVIRONMENT.PP.TP 8.B DISPLAYto get the default host and display number..TP 8.B XENVIRONMENTto get the name of a resource file that overrides the global resourcesstored in the RESOURCE_MANAGER property..SH FILES<XRoot>/lib/X11/app-defaults/XPppoem - specifies required resources..br/proc/net/pppoe   information source, human readable.br/proc/net/dev     information source, human readable.br.SH SEE ALSOX(1), xrdb(1), xload(1), xisdnload(1), xpppload(1),Athena StripChart Widget..SH BUGSDoes not give an error message, when a nonexisting device isspecified. It keeps trying to watch that device.Certainly lots of other bugs..SH COPYRIGHTThis program is based on \fIxpppload\fP, which is based on \fIxisdnload\fP,which is based on \fIxload\fP which is Copyright (1988) X Consortium.Use and redistribution are unrestricted. No warranty..SH AUTHORS- xload:.brK. Shane Hartman (MIT-LCS) and Stuart A. Malone (MIT-LCS);with features added by Jim Gettys (MIT-Athena), Bob Scheifler (MIT-LCS),Tony  Della Fera (MIT-Athena), and Chris Peterson (MIT-LCS),Takis  Psarogiannakopoulos (XFree86 Project)..br- xisdnload:.brFrank Strauss strauss@escape.de (escape e.V., Braunschweig, Germany),Michael Deindl olmur@dwarf.bb.bawue.de, Markus Pilzeckermp@timesink.pilzecker.de.br- xpppload:.brMario Klebsch mario@klebsch.de, Andreas Kies andikies@t-online.de,Andreas Hoffmann Andreas.Hoffmann@papierkorb.de.br- xpppoem:.brThomas Schmitt scdbackup@gmx.net

⌨️ 快捷键说明

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