There are two sets of options for ps. Others will call with the correct names ((maybe BSD and SRVn)?)
With the option not related to the parameters, with the previous version, you can do
ps auxww(w?) | grep ${PID} ps auxww(w?) | grep ${PID} to increase the length of the printed part of the command (again, pay attention to the pointer indicator "-").
Please note that in some cases you will see many environment variable assignments before the actual command, i.e. myPath = ... cfgFile = ... / path / to / command ... args ...
I think that www will print everything on some systems, no matter how long the command takes.
Finally, in my experience using ps to do a lot of crazy things, I would prudently have a PID, and the first 6 would appear on the output? columns, but the space reserved for the team was empty or made any difference to the place holder. In the end, I found out why this is true by searching comp.unix.shell, but it's too long, and I don't have access to Solaris systems right now.
Hope this helps.
source share