Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

While i pipe nethogs it takes too much delay for the output ( About 5-200 sec instead of 1 sec depend on pipe,cmd etc). Nethogs print output in every second.

For the sake of simplicity consider the following command ( it takes abt 5 sec )

sudo nethogs ppp0 | grep e | grep e |grep c

I belive it due to the buffering in pipe.

How can i avoid the delay (In general or in the case of nethogs)???

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.