1833994 Members
4405 Online
110063 Solutions
New Discussion

process management

 
Sudhakara  Jetti
New Member

process management

How do I see the complete command line with a ps command? By default it shows
upto 80 characters only. If the command line including the arguments is more
than 80 characters, then how to see that? How the process table is maintained
in HP-UX 10.20. In solaris it is through a seperate file sytstem /proc. How
about in HP?
2 REPLIES 2
Anthony Goonetilleke_1
Regular Advisor

Re: process management

Ther is a limit of the command line args displayed by ps, here is a snippet
from man ps

"args The command line given when the process was created. This
column should be the last one specified, if it is desired. Only a subset of
the
command line is saved by the kernel; as much of
the command line will be displayed as is
available. The output in this column may contain
spaces. The default heading for this column is
COMMAND if -o is specified and CMD otherwise."

I know its an old article but have a look at Doc Id. 1653012245
Sudhakara  Jetti
New Member

Re: process management

The -o args option is not working with ps command in HP-UX 10.20. The -o
option is available only with xpg4 version, and that I am not having. Is there
any other way to find the command line completely with ps command.
How can I find the document 1653012245 from docs.hp.com.