1828672 Members
3639 Online
109984 Solutions
New Discussion

Help with ps -ef command

 
SOLVED
Go to solution
Coolmar
Esteemed Contributor

Help with ps -ef command

Hi,

I am doing a ps -ef on a process and the COMMAND field is concatenated and we can't see the full path. Is there a way to increase the length of the 'args' or COMMAND field using ps? If not, is there another way to find the full process path?

Thanks
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: Help with ps -ef command

There is an '-x' option to ps if you have the correct patch installed.

# ps -efx | grep whatever

PHCO_31978 should give you the appropriate functionality for HP-UX 11.11.

PHCO_30559 should give you the appropriate functionality for HP-UX 11.0.

Be sure you get and install any patch dependencies for those as well.

The patches I note do not require a reboot but some of the patch dependencies might.
Biswajit Tripathy
Honored Contributor

Re: Help with ps -ef command

# ps -efx

- Biswajit
:-)