How do I get the complete description of the process listed by ps command on a Solaris box. Here is what I am looking for:
>> ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 Aug 27 ? 0:01 sched
root 1 0 0 Aug 27 ? 1:50 /etc/init -
root 2 0 0 Aug 27 ? 0:00 pageout
root 3 0 1 Aug 27 ? 1101:09 fsflush
root 833 1 0 Aug 27 ? 0:00 /usr/lib/saf/sac -t 300
cwadmin 13856 1 0 Sep 01 ? 2:58 /usr/java/bin/../bin/sparc/native_threads/java -DDASHBOARD_HOME=/opt/IBM/ThirdP
For example, the CMD column above for UID cwadmin gives only a partial description of the process and stopped after /IBM/ThirdP. But I would like to get the complete CMD value of that process because I am grepping for a particular pattern at a different point which comes after the /IBM/ThirdP.
If I do the same ps -ef command on AIX, then I am able to see the full length of the CMD. Is there any additional option to use on Solaris???
>> ps -ef
UID PID PPID C STIME TTY TIME CMD
root 0 0 0 Aug 27 ? 0:01 sched
root 1 0 0 Aug 27 ? 1:50 /etc/init -
root 2 0 0 Aug 27 ? 0:00 pageout
root 3 0 1 Aug 27 ? 1101:09 fsflush
root 833 1 0 Aug 27 ? 0:00 /usr/lib/saf/sac -t 300
cwadmin 13856 1 0 Sep 01 ? 2:58 /usr/java/bin/../bin/sparc/native_threads/java -DDASHBOARD_HOME=/opt/IBM/ThirdP
For example, the CMD column above for UID cwadmin gives only a partial description of the process and stopped after /IBM/ThirdP. But I would like to get the complete CMD value of that process because I am grepping for a particular pattern at a different point which comes after the /IBM/ThirdP.
If I do the same ps -ef command on AIX, then I am able to see the full length of the CMD. Is there any additional option to use on Solaris???