Operating System - HP-UX
1832880 Members
2468 Online
110048 Solutions
New Discussion

Find out full argument of process

 
SOLVED
Go to solution
Ryan Ma
Frequent Advisor

Find out full argument of process

Normally, "ps -ef" will show the full command of the process but it will truncate the full command if it is just too long.

Is there any way to show the full command without truncate?
2 REPLIES 2
Michael Tully
Honored Contributor

Re: Find out full argument of process

By default it is truncated. Have a look at this link, there is a C program that Christopher has posted.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x886950011d20d6118ff40090279cd0f9,00.html

HTH
Michael
Anyone for a Mutiny ?
James R. Ferguson
Acclaimed Contributor
Solution

Re: Find out full argument of process

Hi Ryan:

On 11.11, add the '-x' option to your 'ps' command. This enables reporting command lines up to 1024 characters long. For 11.0, patch PHCO_26274 is required.

Regards!

...JRF...