ps command listing
Hi,
The ps -ef command truncates the command line of the process.
I tried running the /usr/ucb/ps command (/usr/ucb/ps -auwwx). It works in most of my test environments, but in my production environment even this command truncates the command line to a max 80 characters.
How can I get the full command line?
[333 byte] By [
doshiaj] at [2007-11-26 9:27:39]

# 1
/usr/ucb/ps has two versions. A 32 bit and a 64 bit. If you are getting proc errors when doing the /usr/ucb/ps - auwwx, you have to upgrade to the 64 bit version. It will produce lines and lines of process information.
It is quite common for Sybase systems to purposely not put in the 64 bit version due to isql requiring the password being in plain text.
You should be aware that /usr/ucb/ps wont be on Solaris forever. It is backwardly compatible for the old SunOS days.
Stephen
# 2
Ok thanks for that info ... I was not aware that this command is not going to be there in future ... In that case, is there any alternative of that command, that I can use to get the full command listing (the entire command and all the arguments)?
# 5
The Opensolaris bug database has a few entries for this issue.
All are marked closed with no patches in the works.
Resolution:
Submit an RFE with Sun and hope they work on it.
Use the ucb version with the caveats already listed.
Change the code yourself. Get the code from opensolaris.
alan