get_network_info
Get per-interface network I/O counters: bytes, packets, errors, drops. Analyze bandwidth usage and packet drops using read-only data from /proc/net/dev.
Instructions
Returns per-interface network I/O counters (bytes, packets, errors, drops). Read-only from /proc/net/dev. Fatal only if that file is unreadable. Use for bandwidth and drop analysis; get_network_connections for sockets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| interfaces | Yes |