post http://127.0.0.1:5001/api/v1/stats/bw
Print BTFS bandwidth information
Arguments
Arguments | Description | Type | Required? |
---|---|---|---|
peer | Specify a peer to print bandwidth for. | string | N |
proto | Specify a protocol to print bandwidth for. | string | N |
poll | Print bandwidth at an interval. | boolean | N |
interval | Time interval to wait between updating output, if 'poll' is true. This accepts durations such as “300s”, “1.5h” or “2h45m”. Valid time units are: “ns”, “us” (or “µs”), “ms”, “s”, “m”, “h”. Default: “1s”. | string | N |
quiet | Write minimal output. | boolean | N |
key | Name of the key to be used or a valid PeerID, as listed by btfs key list -l . Default: "self". | string | N |
quieter | Write only final hash. | boolean | N |