Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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'm doing some basic stress testing of a Linux kernel network IWF with netcat. The set-up is fairly simple. On the target side:

nc -l -p 10000 > /dev/null

And on my desktop I was running:

cat /dev/urandom | nc 10000

I'm using urandom for some poor-mans fuzz testing. However I find that even at this rate I can break something quite quickly.


So I've been playing with trickle to rate limit how fast I'm generating data:

cat /dev/urandom | trickle -u 10 nc 10000

But it's hard to tell if this is working. What would be really useful is a the pv equivilent of trickle that can work with pipes.

share|improve this question
just search for pv in your repositories. – EarlGray Oct 30 '12 at 17:02

Straight after posting I came across a tool called "Pipe Viewer" which seems to be just what I need.

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.