Linux命令

1、查看tomcat進程
ps -ef|grep tomcat
2、查看tomcat進程並忽略grep
ps -ef|grep tomcat|grep -v grep
3、查看tomcat進程並打印第一列數據
/mnt/web# ps -ef|grep tomcat | awk ‘{print $1}’

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章