[root@linux-214 54198]# ps -ef|grep QD|grep -v grep|awk '$10==2{print $14}' QWorld QDBProxy QGameServer QGateway QCommunity [root@linux-214 54198]# ps -ef|grep QD|grep -v grep|awk '$10==2{print $14}'|tr -s '\n' ' ';echo QWorld QDBProxy QGameServer QGateway QCommunity [root@linux-214 54198]#
转载于:https://blog.51cto.com/alwaysyunwei/1306289