prstat gets cut off

When I run the command prstat -u user 1 1 I get about 100 lines of output. Which is fine. But if I pipe or redirect the command it only comes back with about 15 lines. prstat -u user 1 1 |more still cuts it down. So trying to use prstat in a script, like uprstat found elsewere, gives inaccurate information. Any ideas?

[326 byte] By [kalariea] at [2007-11-27 11:07:47]
# 1

From the man page:

-n ntop[,nbottom]

...When you specify the -c

option or direct the output to a file, the default

values for ntop and nbottom are 15 and 5.

'prstat -n 99999' fixes this

wsandersa at 2007-7-29 13:24:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Yup, the -n 99999 fixed it. Should have figured that one out. I guess I just stared at it too long. Thanks.

kalariea at 2007-7-29 13:24:19 > top of Java-index,Solaris Operating System,Solaris 10 Features...