README: updated net description
This commit is contained in:
parent
3dc7c5e308
commit
b105ae21cd
7
README
7
README
|
@ -207,10 +207,9 @@ vicious.widgets.net
|
||||||
- provides usage statistics for all network interfaces
|
- provides usage statistics for all network interfaces
|
||||||
- returns a table with custom keys, using net interfaces as a base:
|
- returns a table with custom keys, using net interfaces as a base:
|
||||||
{eth0 rx_b}, {eth0 tx_b}, {eth0 rx_kb}, {eth0 tx_kb}, {eth0 rx_mb},
|
{eth0 rx_b}, {eth0 tx_b}, {eth0 rx_kb}, {eth0 tx_kb}, {eth0 rx_mb},
|
||||||
{eth0 tx_mb}, {eth0 rx_gb}, {eth0 tx_gb}, {eth0 down}, {eth0 up},
|
{eth0 tx_mb}, {eth0 rx_gb}, {eth0 tx_gb}, {eth0 down_b}, {eth0 up_b},
|
||||||
{eth0 down_b}, {eth0 up_b}, {eth0 down_kb}, {eth0 up_kb},
|
{eth0 down_kb}, {eth0 up_kb}, {eth0 down_mb}, {eth0 up_mb},
|
||||||
{eth0 down_mb}, {eth0 up_mb}, {eth0 down_gb}, {eth0 up_gb},
|
{eth0 down_gb}, {eth0 up_gb}, {eth1 rx_b} etc.
|
||||||
{eth1 rx_b} etc.
|
|
||||||
|
|
||||||
vicious.widgets.wifi
|
vicious.widgets.wifi
|
||||||
- provides wireless information for a requested interface
|
- provides wireless information for a requested interface
|
||||||
|
|
1
net.lua
1
net.lua
|
@ -10,7 +10,6 @@ local tonumber = tonumber
|
||||||
local os = { time = os.time }
|
local os = { time = os.time }
|
||||||
local io = { open = io.open }
|
local io = { open = io.open }
|
||||||
local setmetatable = setmetatable
|
local setmetatable = setmetatable
|
||||||
local math = { floor = math.floor }
|
|
||||||
local string = {
|
local string = {
|
||||||
match = string.match,
|
match = string.match,
|
||||||
format = string.format
|
format = string.format
|
||||||
|
|
Loading…
Reference in New Issue