I don't seem to get that much output when running your command [1]. What more do you get?
Regards, Torsten Mielke tmielke.blogspot.com [1] $ ps -ef|grep activemq 1063855181 71500 66770 0 0:00.00 ttys014 0:00.00 grep activemq 1063855181 71476 66810 0 0:00.01 ttys015 0:00.01 /bin/sh ./activemq console 1063855181 71497 71476 0 0:00.38 ttys015 0:04.99 /System/Library/Frameworks/JavaVM.framework/Home/bin/java -Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Dcom.sun.management.jmxremote -Djava.io.tmpdir=/opt/FUSE/AMQ/apache-activemq-5.8.0/tmp -Dactivemq.classpath=/opt/FUSE/AMQ/apache-activemq-5.8.0/conf; -Dactivemq.home=/opt/FUSE/AMQ/apache-activemq-5.8.0 -Dactivemq.base=/opt/FUSE/AMQ/apache-activemq-5.8.0 -Dactivemq.conf=/opt/FUSE/AMQ/apache-activemq-5.8.0/conf -Dactivemq.data=/opt/FUSE/AMQ/apache-activemq-5.8.0/data -jar /opt/FUSE/AMQ/apache-activemq-5.8.0/bin/activemq.jar start On Nov 13, 2013, at 06:45 AM, HellKnight wrote: > ps -ef|grep activemq gives a lot of output by default. I want the output of > this command as simple as the following : > root 27839 1 0 ? 00:40:00 /ActiveMQ/apache-activemq-5.9.0/bin/activemq > > No other output info. Can I do that ? > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/Can-I-control-the-output-of-command-ps-ef-grep-activemq-tp4674296.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.