Unix administration - Full process name not appearing at console

This is Interesting: Free IT Magazines  
Home > Archive > Unix administration > November 2005 > Full process name not appearing at console





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Full process name not appearing at console
kr.badrinath@gmail.com

2005-11-09, 5:53 pm

Hi,


I have executed following command in one of our unix environments..at
console output part of the procees name is missing ..Could you please
help me how to get full process name.

OS : Solaris
Command Executed "ps -ef -o pid -o args"


Expected Output


/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_PROCESS1
/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_PROCESS2
/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_PROCESS3


Actual Output


/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_
/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_
/opt/bin/stceway.exe -rh grmuxtst2eai -rs GCC06E -ln GCC02_


Thanks,
Badri

Kelly D. Grills

2005-11-10, 8:53 pm

* kr.badrinath@gmail.com <kr.badrinath@gmail.com>:
>
> I have executed following command in one of our unix environments..at
> console output part of the procees name is missing ..Could you please
> help me how to get full process name.
>
> OS : Solaris
> Command Executed "ps -ef -o pid -o args"



On my FreeBSD system there is a "-w" option.

From PS(1):

-w Use 132 columns to display information, instead of the default
which is your window size. If the -w option is specified more
than once, ps will use as many columns as necessary without
regard for your window size.

I don't know if this is applicable to Solaris, perhaps consult your man page.

--
Kelly D. Grills
kdgrills@the-grills.com

Teenoo

2005-11-30, 8:49 pm

Hii .. You need to readjust your screen buffer size if thats what u
getting
try and put the output to a file and then vi the file . the remaining
part wud be wrapped to the next logical screen line.
Regards
Teenoo

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com