#!/bin/bashif[!-n"$1"];thenecho-e"Usage:$0PATH"exit30fi#T_P=$(psaux|grep"$1"|grep-v-E"grep|tomcat_path"|awk‘{print$2,$(NF-3)}‘|sed‘s/-Dcatalina.home=/--/g‘)echo"-PID-------------------PATH----"psaux|grep"$1"|grep-v-E"grep|tomcat_path"|awk‘{print$2,$(NF-3)}‘..
分类:
系统相关 时间:
2016-11-14 16:09:41
阅读次数:
275