@vincentzyuapps/winload 0.1.9-rc.5 → 0.1.9-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -7
- package/readme.md +16 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vincentzyuapps/winload",
|
|
3
|
-
"version": "0.1.9-rc.
|
|
3
|
+
"version": "0.1.9-rc.7",
|
|
4
4
|
"description": "Network Load Monitor — nload-like TUI tool for Windows/Linux/macOS (prebuilt Rust binary)",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"optionalDependencies": {
|
|
36
|
-
"@vincentzyuapps/winload-win32-x64": "0.1.9-rc.
|
|
37
|
-
"@vincentzyuapps/winload-win32-arm64": "0.1.9-rc.
|
|
38
|
-
"@vincentzyuapps/winload-linux-x64": "0.1.9-rc.
|
|
39
|
-
"@vincentzyuapps/winload-linux-arm64": "0.1.9-rc.
|
|
40
|
-
"@vincentzyuapps/winload-darwin-x64": "0.1.9-rc.
|
|
41
|
-
"@vincentzyuapps/winload-darwin-arm64": "0.1.9-rc.
|
|
36
|
+
"@vincentzyuapps/winload-win32-x64": "0.1.9-rc.7",
|
|
37
|
+
"@vincentzyuapps/winload-win32-arm64": "0.1.9-rc.7",
|
|
38
|
+
"@vincentzyuapps/winload-linux-x64": "0.1.9-rc.7",
|
|
39
|
+
"@vincentzyuapps/winload-linux-arm64": "0.1.9-rc.7",
|
|
40
|
+
"@vincentzyuapps/winload-darwin-x64": "0.1.9-rc.7",
|
|
41
|
+
"@vincentzyuapps/winload-darwin-arm64": "0.1.9-rc.7"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/readme.md
CHANGED
|
@@ -140,10 +140,13 @@ paru -S winload-rust-bin
|
|
|
140
140
|
which winload
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
###
|
|
143
|
+
### Debian & RedHat Distros / Termux (one-liner)
|
|
144
144
|
> Supports Debian/Ubuntu and derivatives — Linux Mint, Pop!_OS, Deepin, UOS, etc. (apt)
|
|
145
145
|
|
|
146
146
|
> Supports Fedora/RHEL and derivatives — Rocky Linux, AlmaLinux, CentOS Stream, etc. (dnf)
|
|
147
|
+
|
|
148
|
+
> Also supports Termux on Android (aarch64)
|
|
149
|
+
|
|
147
150
|
```bash
|
|
148
151
|
curl -fsSL https://raw.githubusercontent.com/VincentZyuApps/winload/main/docs/install_scripts/install.sh | bash
|
|
149
152
|
which winload
|
|
@@ -204,6 +207,7 @@ winload --title "My Monitor" # Use a custom header title
|
|
|
204
207
|
winload --title "" # Keep the default device header
|
|
205
208
|
winload -e # Enable emoji decorations 🎉
|
|
206
209
|
winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npcap)
|
|
210
|
+
winload --netlink # Use RTNETLINK on Linux/Android (Termux proot distro, etc.)
|
|
207
211
|
```
|
|
208
212
|
|
|
209
213
|
### Options
|
|
@@ -226,6 +230,7 @@ winload --npcap # Capture 127.0.0.1 loopback traffic (Windows, requires Npc
|
|
|
226
230
|
| `--hide-separator` | Hide the separator line (row of equals signs) | off |
|
|
227
231
|
| `--no-color` | Disable all TUI colors (monochrome mode) | off |
|
|
228
232
|
| `--npcap` | **[Windows Rust Only]** Capture loopback traffic via Npcap (recommended) | off |
|
|
233
|
+
| `--netlink` | **[Linux/Android Rust Only]** Use RTNETLINK instead of sysinfo (for Termux proot distro or restricted environments) | off |
|
|
229
234
|
| `--debug-info` | Print network interface debug info and exit | — |
|
|
230
235
|
| `-h`, `--help` | Print help (`--help --emoji` for emoji version!) | — |
|
|
231
236
|
| `-V`, `--version` | Print version | — |
|
|
@@ -268,6 +273,16 @@ This requires [Npcap](https://npcap.com/#download) installed with "Support loopb
|
|
|
268
273
|
|
|
269
274
|
On Linux and macOS, loopback traffic works out of the box — no extra flags needed.
|
|
270
275
|
|
|
276
|
+
On **Linux/Android**, if `/proc/net/dev` is not accessible (e.g. inside a Termux proot distro or other restricted environments), use `--netlink` to collect network stats via RTNETLINK directly:
|
|
277
|
+
|
|
278
|
+
```bash
|
|
279
|
+
winload --netlink
|
|
280
|
+
```
|
|
281
|
+
|
|
282
|
+
> Note: `--netlink` is **Linux/Android only**. On macOS, netlink is not available — sysinfo is used by default.
|
|
283
|
+
>
|
|
284
|
+
> 📖 For a deep dive into Linux/Android network statistics collection, see [docs/linux_android_netlink.md](docs/linux_android_netlink.md)
|
|
285
|
+
|
|
271
286
|
## 🖼️ Previews
|
|
272
287
|
#### Python Edition Preview
|
|
273
288
|

|