newbie question.. how do i fully display through the ps command the third
column which shows the command name.
it should display at the end most.. instead of the concatinated display
below.. i need this to create a script for the startup/shutdown
of the tomcat instances and kill the java process that is associated with
each tomcat instance..

/adb/apps/pkg/tomcat/4.0.6
/adb/apps/pkg/tomcat/4.0.6-8040
/adb/apps/pkg/tomcat/4.0.6-8080


bash-2.05# ps -ef | grep java
    root  9921     1  0 13:30:14 ?       29:15
/adb/apps/pkg/java/1.4.2_01/bin/java -Djava.endorsed.dirs=/adb/apps/pkg/tomc
at/
    root  8878     1  0 09:13:33 ?        0:49
/adb/apps/pkg/java/1.4.2_01/bin/java -Djava.endorsed.dirs=/adb/apps/pkg/tomc
at/
    root  8855     1  0 09:10:13 ?       56:54
//adb/apps/pkg/java/1.4.2_01/bin/java -Djava.endorsed.dirs=/adb/apps/pkg/tom
cat
    root 11134 11009  0 16:40:56 pts/7    0:00 grep java
bash-2.05#

any suggestions are welcome..

thanks in advance,
allan

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to