forked from ukoda/lcd4linux-ax206
-
-
Notifications
You must be signed in to change notification settings - Fork 0
plugin_ppp
Alejandro Mora edited this page Mar 9, 2026
·
2 revisions
This plugin provides statistic informations from PPP devices.
| ppp(key, delay) | gather PPP statistics |
|---|
'key' is either 'Rx:' or 'Tx:', where is the PPP device number.
The 'delay' value specifies a period of time (in milliseconds) for a delta computation. If you use a delta of 0 (zero), you get the absolute values. For delay values > 0 you get the delta value in 1/sec unit. Using a delta value of 500 msec seems to be a good choice.
Note that the PPP plugin should be considered obsolte, for two reasons: First, the used system call seems to be quite slow, so this plugin burns a lot of cpu cycles. Second, the netdev-plugin provides the same (and mor) information. In short: Use the netdev-plugin!
Widget PPP {
class 'Text'
expression ppp('Rx:0', 500) + ppp('Tx:0', 500)
prefix 'PPP'
width 9
precision 0
align 'R'
update 200
}
The official LCD4Linux(AX206) Wiki
Back from the dead!
Back from the dead!
Documentation
Developers
Resources
Legacy (0.9)
AX206 Fork