![]() |
![]()
| ![]() |
![]()
NAMEsfwbar-network - Sfwbar Network module Filename: network.so Requires: none SYNOPSISThe network module tracks the state of the current network connection. EXPRESSION FUNCTIONSNetInfo(Query[,Interface])Function NetInfo queries the parameter of the connection on the network interface specified. If Interface is not specified, NetInfo will query the interface of the default gateway (if one exists). The queries supported are:
NetInfo returns a string value. NetStat(Query[,Interface])Function NetStat queries statistics of the interface. If the interface isn't specified, it will be applied to the interface of the default gateway. The queries supported are:
NetState returns a numeric value. ACTIONSNone TRIGGERSThe module defines one trigger "network" which is emitted whenever the interface data is changes (i.e. ip, netmask, default gateway, wifi essid). COPYRIGHTGPLv3+
|