Solaris 10: "ps -ef" command length is too long; missing required information

Hello,
Can you please help me to tune "ps -ef" command output; it is not displaying the complete command; so that I am missing my actual program name. "ps -ef" is not actually printing "/gp46-tomcat] (my program name); is there any way to cut "/usr/jdk/latest/bin" so that I can read my program name in "ps -ef" output; I greatly appreciate your help. Thanks

soaadmin@soa-prod-as1: ps -ef | pg
     UID   PID  PPID   C    STIME TTY         TIME CMD
    root     0     0   0   Apr 07 ?           0:45 sched
    root     1     0   0   Apr 07 ?           0:05 /sbin/init
    root     2     0   0   Apr 07 ?           0:00 pageout
soaadmin  3751     1   0 12:01:13 pts/1       2:33 /usr/jdk/latest/bin/java -Djava.util.logging.config.file=/app/ui_home/as2-group  [/gp46-tomcat]


sriramAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
Hi,

try

ps axwww

wmp

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ramakanta SahooCommented:
use:

/usr/ucb/ps -auxww | grep -i java | grep gp46
0
sriramAuthor Commented:
Thank You -

I have to use /usr/ucb/ps -awxx (Berkley)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.