Operating System - HP-UX
1822478 Members
2431 Online
109642 Solutions
New Discussion юеВ

maximun line length on ps -ef ?

 
SOLVED
Go to solution
Stuart Abramson_2
Honored Contributor

maximun line length on ps -ef ?

Our Oracle Applications DBA wants to see the remaining characters on this line:

# ps -ef | grep java
applmgr 15744 15741 0 11:32:44 ? 1:27 /opt/java1.3/jre/bin/../bin/PA_RISC2.0/native_threads/java -

How do I get that?
4 REPLIES 4
Camel_1
Valued Contributor
Solution

Re: maximun line length on ps -ef ?

Use -x options
Stuart Abramson_2
Honored Contributor

Re: maximun line length on ps -ef ?

Thanks. I just never knew that!
John Dvorchak
Honored Contributor

Re: maximun line length on ps -ef ?

Try ps -efx

The -x will give the full output rather than cutting it off in the middle of the page.
If it has wheels or a skirt, you can't afford it.
Patrick Wallek
Honored Contributor

Re: maximun line length on ps -ef ?

You may need the latest 'ps' patch to get the '-x' option.

For HP-UX 11.0
PHCO_26274
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_26274&context=hpux:800:11:00
NOTE: This patch depends on 2 PHKL (Kernel) patches, so a reboot will be required if installing this patch plus its dependencies.

For HP-UX 11.11
PHCO_29042
http://www2.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_29042&context=hpux:800:11:11