X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/8f907725c6bc5016c27da6b384a79200167af346..4a81ad47d143e42e8b9de92ebb8cd963d5bd6515:/net.md?ds=inline diff --git a/net.md b/net.md index bace937..f857239 100644 --- a/net.md +++ b/net.md @@ -13,9 +13,13 @@ Variable | Meaning | Type | Default `units` | Units | int | 1024 (kilobytes) `settings` | User settings | function | empty function -Possible other values for `units` are 1 (byte) or multiple of 1024: 1024^2 (mb), 1024^3 (gb), ... . +Possible other values for `units` are 1 (byte) or multiple of 1024: 1024^2 (mb), 1024^3 (gb), and so on. -`settings` can use the following `iface` strings: `carrier`, `state`, `sent`, `received`. +`settings` can use the following `iface` related strings: + +- `net_now.carrier` ("0", "1"); +- `net_now.state` ("up", "down"); +- `net_now.sent` and `net_now.received` (numbers). ### output