Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Option to save stats to file e.g csv #1

Open
ghost opened this issue Jul 22, 2017 · 0 comments
Open

[Feature request] Option to save stats to file e.g csv #1

ghost opened this issue Jul 22, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 22, 2017

Hi,

First of all thanks for the program 🙂

Nevertheless it'd be great if there were an option to modify the output in order to create stats and graphs once all is said and done.

A necessary option would be forcing the rates and sizes to be of a constant unit e.g bytes, KB, MB, etc.

Possible options I see would be

  1. Add --newline option

Instead of simply printing ' \r' '\r\n' could be printed

Downside of this, would be that it fills up the screen.

  1. Provide --csv option

Invocation could be pv --csv [OUTFILE] and depending on the display options a CSV would be generated

Time, Current in B/s, AVG in B/s
00:00:01, 65, 65
00:00:02, 73, 69

Upside of this would be keeping the normal display and not having to deal with piping the stderr.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants