1834504 Members
2625 Online
110068 Solutions
New Discussion

using ps

 
SOLVED
Go to solution
En Zhu
Occasional Advisor

using ps

Hi,

Maybe I'm stupid, but I really need some helping with the ps command.

#ps -ef
...
root 7002 7001 0 15:50:47 ? 0:03 ns-httpd -d /usr/iplanet/servers/https-uscohu00.ca.com/confi
...

As you can see above, the command section got truncated. Is there any way that I can see the full command section?

Thank you.
6 REPLIES 6
PIYUSH D. PATEL
Honored Contributor
Solution

Re: using ps

Hi,

60 characters is the limit set at the kernel level as of 11.00 release.

Hence you are not getting the whole output.

HTH,
Piyush
En Zhu
Occasional Advisor

Re: using ps

Hi, Piyush,

Do you mean there is no chance for me to see the full command section at all?
It's sad ...
Thank you.


En
PIYUSH D. PATEL
Honored Contributor

Re: using ps

Hi,

Have a look at this link. There are some solutions to this problem.

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

HTH,
Piyush
A. Clay Stephenson
Acclaimed Contributor

Re: using ps

What you see is what you get but there is a patch to allow longer command line - it was really limited by the kernel (pstat() system call).

For 11.0, install PHKL_26008, PHKL_25999, & PHCO_26274 and you should be good to go.
If it ain't broke, I can fix that.
Caesar_3
Esteemed Contributor

Re: using ps

Hello!

Patches could solve the problem
check this one PHKL_25999 and
also the PHKL_26007 or the newer versions
of them, could be that i forgot something.
Long time that i forget it.

Caesar
En Zhu
Occasional Advisor

Re: using ps

Thank you very much, it's really helpful.
Have a nice holiday.

En