Operating System - HP-UX
1832877 Members
2387 Online
110048 Solutions
New Discussion

Re: Process data too long to be viewed within window

 
SOLVED
Go to solution
Woo Kim Chye
Occasional Advisor

Process data too long to be viewed within window

Hi,
Wonder if this has been posted before. In my environment, I have a lot of user processes which are too long to be viewed within the term window. For eg, I have a process shown below when I run the ps -ef | grep command:

diffus1 18366 1 0 13:29:03 ? 0:00 spc_server -l/sgp-spc-home/diffus1/tmp/logs/jetmospc10 -sspc

For the above process, the parameters are too long to be seen within the window. Does anyone know how to see all the parameters that extend beyond the window display.

Thanks.
2 REPLIES 2
Karthik S S
Honored Contributor

Re: Process data too long to be viewed within window

Try piping it to xargs.

ps -?? ?? | xargs

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Mike Stroyan
Honored Contributor
Solution

Re: Process data too long to be viewed within window

The limitation you are seeing is more likely to be with the maximum output of ps rather than the width of a terminal window. You will need to use the "ps -x" option to see really long parameter lists. That is first available in patches such as PHCO_26274 for 11.00. There are fixes for some "ps -x" troubles in patches such as PHCO_30397 for 11.11.