yubin00145865 / iperf

Automatically exported from code.google.com/p/iperf
Other
0 stars 0 forks source link

add useful info to Iperf output #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Explaination of new feature

add things like the version number of iperf and possibly uname(1) type info.

Justification of new feature

Many/most Iperf bug reports include Iperf output but frequently omit the 
version number and/or OS.

Original issue reported on code.google.com by jdugan.e...@gmail.com on 1 Dec 2010 at 2:26

GoogleCodeExporter commented 8 years ago

Original comment by bltier...@gmail.com on 7 Sep 2012 at 1:14

GoogleCodeExporter commented 8 years ago

Original comment by jdu...@es.net on 10 Sep 2012 at 4:22

GoogleCodeExporter commented 8 years ago
iperf currently shows the version info (and exits) when you give the 
-v/--version flag.

I could have it also show the version (and not exit) with the -V/--verbose 
flag, how about that?  Not sure it makes sense to show the version in a regular 
non-verbose run, but if that's what you want it's certainly easy to do.

As for uname, maybe have the -v/--version flag just do a system("uname -a"); ?  
Or, again, the -V/--verbose flag?

Original comment by jef.posk...@gmail.com on 5 Nov 2012 at 5:32

GoogleCodeExporter commented 8 years ago

Original comment by bltier...@es.net on 12 Dec 2012 at 10:50

GoogleCodeExporter commented 8 years ago
Did you fix this or simply close the bug? I was unable to find a commit that 
would fit this request.

Thanks,
Richard

Original comment by richih.m...@gmail.com on 13 Dec 2012 at 1:35

GoogleCodeExporter commented 8 years ago
Yeah I added the uname call as mentioned above, for both --version and 
--verbose.  I've not good enough with hg to figure out a commit i.d.

Original comment by jef.posk...@gmail.com on 13 Dec 2012 at 1:38

GoogleCodeExporter commented 8 years ago
FWIW, you can browse https://code.google.com/p/iperf/source/list easily.

It seems to be 
https://code.google.com/p/iperf/source/detail?r=c1b9236f51fa1ac345c22edf13d3f24b
ea059586 .

Original comment by richih.m...@gmail.com on 13 Dec 2012 at 1:43