Capture entire line in ps command

I need to determine what processes are running at certain times of the day. I have a script that issues the /usr/ucb/ps aux command and captures it to a file.

I want to see the cpu usage and memory usage.
This command lops off the end of the of the display line so I can't see the entire process name.

I am on solaris 9 running ksh, but the command does the same in std out to the terminal.

Is there a different way to see similar information or a way to change the output format on this command?

thanks

try:

/usr/ucb/ps wwaxu

HTH,

It works.
Thank you!!!!