Operating System - HP-UX
1846858 Members
8609 Online
110256 Solutions
New Discussion

Displaying command using ps

 
Scott Middlemiss
New Member

Displaying command using ps

When using the ps command to view processes I cannot see the name of the program being executed by a process because the COMMAND field does not display enough characters. The COMMAND field in the ps command seems to truncate at maximum 60 characters and I can find no way of extending this using the options to ps. The program being executed is preceded by a long path, hence why it exceeds 60 characters.

Anybody know of a way to extend the COMMAND field width in ps, or an alternative way of displaying the command being executed by a UNIX process? (HPUX v11.00)

Regards,
Scott.
2 REPLIES 2
James R. Ferguson
Acclaimed Contributor

Re: Displaying command using ps

Hi Scott:

Funny you should ask :-; This discussion is addressed this morning here:

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

Regards!

...JRF...
Norman_21
Honored Contributor

Re: Displaying command using ps

Hi,

look at this thread:

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

hope this help.
"Attitudes are contagious, is yours worth catching"/ My first point was given by SEP on January 31, 2003