Why Nostr? What is Njump?
2023-11-08 17:43:04

Command Line Magic on Nostr: Use ip's stats (-s) and json output (-j) options with the jq command to parse the ...

Use ip's stats (-s) and json output (-j) options with the jq command to parse the received byte count on your wireguard wg0 interface:

ip -s -j addr show dev wg0 | jq '.[].stats64.rx.bytes'
Author Public Key
npub17hcswhel45t4tnh3a7gzf4f74lfyafrq8qe3nlaejj0nk63umcdqcxtk0h