Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
How can I limit the output speed of stdout?

What's the easiest way to limit the speed at which stdout is output in a terminal, so that, for instance, tail -f outputs content at the speed at which a human could read it?

I've tried changing the output baud rate of the current terminal (stty -F $(tty) ospeed 110), but the output still seems to be a the same speed.

I've tried sending it trough pv -L, but it garbles the output.

share|improve this question

marked as duplicate by jw013, Renan, jasonwryan, warl0ck, Michael Mrozek Sep 16 '12 at 17:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
Pipe it through less –  Kevin Sep 15 '12 at 1:36
    
@Kevin, that (almost) works, the issue is I'm looking for something that scrolls on its own. Also, I'm piping the output trough ccze (colorizer) and calling less -R afterwards messes up the ouptut. –  Andrei Sep 15 '12 at 1:46
add comment

1 Answer 1

up vote 6 down vote accepted

There is a program called pv which can do rate limiting.

pv -q -L RATE

The -q is for --quiet mode, which shouldn't garble output.

share|improve this answer
    
excellent, thank you! –  Andrei Sep 15 '12 at 1:51
add comment

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