linux常用命令

一、查看后台对应进程是否启动

     这里以linux上启动active mq为例,ps -ef按名称查,netstat -anp按端口查

  1.1  ps -ef|grep activemp  会查出该进程 但是同时该linux命令也被查出 

  1.2  ps -ef|grep activemq| grep -v grep   屏蔽该linux命令

  1.3  netstat -anp|grep 61616   

  1.4  losf  -i:61616    i是interface

待续。。。

原文地址:https://www.cnblogs.com/jiushixihuandaqingtian/p/11145992.html