-
Notifications
You must be signed in to change notification settings - Fork 79
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
can't get and plot data #1
Comments
That looks like two separate errors. The first one is probably due to netperf not being built with the --enable-demo option. You need netperf version 2.6 or newer, and --enable-demo must be passed to configure when building it. If you're on Debian or Ubuntu, I have a prebuilt package available at my repository: http://archive.tohojo.dk/apt/ The second part is due to a bug in the python2.6 standard library; I checked in a workaround that should fix it. :) |
Thanks for your reply. Regards, 2013/4/15 Toke Høiland-Jørgensen notifications@github.com
"*We build software for people that build software.."Ahmed Bessifi*Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis, |
Did you get a chance to test if the fix works for you? :) |
Yes it works. 2013/4/18 Toke Høiland-Jørgensen notifications@github.com
"*We build software for people that build software.."Ahmed Bessifi*Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis, |
Excellent :) |
Thinks :) 2013/4/18 Toke Høiland-Jørgensen notifications@github.com
"*We build software for people that build software.."Ahmed Bessifi*Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis, |
Hi, In my case my tests will be executed in a server (no x11 server :p) so Regards, 2013/4/18 Ahmed Bessifi ahmed.bessifi@gmail.com
"*We build software for people that build software.."Ahmed Bessifi*Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis, |
Hi, it me again, Thanks. Best regards, 2013/4/19 Ahmed Bessifi ahmed.bessifi@gmail.com
"*We build software for people that build software.."Ahmed Bessifi*Étudiant ingénieur en informatique à la Faculté des Sciences de Tunis, |
Ahmed Bessifi notifications@github.com writes:
Yeah, that's the way to do it. Note you can use -i multiple times if you I really should write a man page... -Toke |
When I execute this :
python2.6 netperf-wrapper -H localhost -p ping_cdf rrul
I get this console's output :
Warning: Program exited non-zero.
Command: netperf -P 0 -v 0 -D -0.2 -4 -Y CS5,CS5 -H localhost -t TCP_STREAM -l 60 -f m
Program output:
netperf: invalid option -- '0'
Usage: netperf [global options] -- [test options]
Global options:
-a send,recv Set the local send,recv buffer alignment
-A send,recv Set the remote send,recv buffer alignment
-B brandstr Specify a string to be emitted with brief output
-c [cpu_rate] Report local CPU usage
-C [cpu_rate] Report remote CPU usage
-d Increase debugging output
-D [secs,units] * Display interim results at least every secs seconds
using units as the initial guess for units per second
-f G|M|K|g|m|k Set the output units
-F fill_file Pre-fill buffers with data from fill_file
-h Display this text
-H name|ip,fam * Specify the target machine and/or local ip and family
-i max,min Specify the max and min number of iterations (15,1)
-I lvl[,intvl] Specify confidence level (95 or 99) (99)
and confidence interval in percentage (10)
-l testlen Specify test duration (>0 secs) (<0 bytes|trans)
-L name|ip,fam * Specify the local ip|name and address family
-o send,recv Set the local send,recv buffer offsets
-O send,recv Set the remote send,recv buffer offset
-n numcpu Set the number of processors for CPU util
-N Establish no control connection, do 'send' side only
-p port,lport* Specify netserver port number and/or local port
-P 0|1 Don't/Do display test headers
-r Allow confidence to be hit on result only
-t testname Specify test to perform
-T lcpu,rcpu Request netperf/netserver be bound to local/remote cpu
-v verbosity Specify the verbosity level
-W send,recv Set the number of send,recv buffers
-v level Set the verbosity level (default 1, min 0)
-V Display the netperf version and exit
For those options taking two parms, at least one must be specified;
specifying one value without a comma will set both parms to that
value, specifying a value with a leading comma will set just the second
parm, a value with a trailing comma will set just the first. To set
each parm to unique values, specify both and separate them with a
comma.
will only set the first parms and will leave the second at the default
value. To set the second value it must be preceded with a comma or be a
comma-separated pair. This is to retain previous netperf behaviour.
Traceback (most recent call last):
File "netperf-wrapper", line 62, in
results[0].dump_dir(os.path.dirname(settings.OUTPUT) or ".")
File "/home/ahmed/Downloads/netperf-wrapper-master/netperf_wrapper/resultset.py", line 178, in dump_dir
fp.close()
File "/usr/lib/python2.6/io.py", line 1492, in close
if not self.closed:
File "/usr/lib/python2.6/io.py", line 1498, in closed
return self.buffer.closed
AttributeError: GzipFile instance has no attribute 'closed'
The text was updated successfully, but these errors were encountered: