Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am working on Ubuntu 12.10 and I just installed netperf by apt-get install netperf. Then I tried to start netperf server by running netserver and I got Unable to start netserver with 'IN(6)ADDR_ANY' port '12865' and family AF_UNSPEC

Can anybody help me? I didn't find anything about it in netperf FAQ.

share|improve this question
up vote 7 down vote accepted

While netserver's behavior seems to be somewhat unusual on Ubuntu, I think that you may find the netserver service to be already running.
If you run a ps -ef | grep netserver, you may find the process already running and you should be able to perform netperf queries against it.

Upon installing netperf on my local machine, I was able to run netperf with several flags set and get results back.

share|improve this answer
That was the problem, thank you. – Igor Ryzhov Dec 3 '12 at 11:22

If you wish to stop the netserver so you can start it with other options, service netperf stop should work, if memory serves.

And while you are running tests, do keep in mind there is more to the networked performance of a system than bulk transfer, so be certain to give the *_RR tests (especially TCP_RR) some attention.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.