Under a UNIX shell, how can I get a similar effect to the watch command, but with paging so that I can scroll around in the output if it takes up more than one screen?
In other words, I want a program that is to watch what less is to cat.
As an example, lets say I wanted to watch the output of qstat, I could use
watch qstat
to watch the output of qstat, but this can only shows the first screenful.
With a paging version of watch, I would be able to move around in the output as it is still continuously updated by watch. Is there any way to do this at the moment with existing utilities?
lesswhen you can just usecatand a bigger window? – David Dean Aug 7 '09 at 0:34