| Summary: | [PATCH] adding current download throughput output to fetch(1) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | adrian <adrian> | ||||
| Component: | bin | Assignee: | Dag-Erling Smørgrav <des> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.0-CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
Responsible Changed From-To: freebsd-bugs->des You've got a replacement for fetch in the wings. This is a pretty simple patch included in this PR. Maybe not hard to apply to new fetch sources? State Changed From-To: open->closed OBE. |
I thought it might be useful to have fetch(1) return a 'current throughput' indicator so I could see how fast the download is. The patch below does this, over the last 5 second interval. I thought that having it over the whole transfer period was kind of pointless, because : (a) I like to see when things start to bottleneck, and not have it hidden by a fast download, and (b) You get it at the end anyway. :-) Fix: Here's the quick patch to fetch(1) in -current: How-To-Repeat: Just run fetch..