码迷,mamicode.com
首页 > 系统相关 > 详细

linux常用命令

时间:2019-07-07 14:29:39      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:int   linux常用命令   gre   inux   查看   启动   端口   active   cti   

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

     这里以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

待续。。。

linux常用命令

标签:int   linux常用命令   gre   inux   查看   启动   端口   active   cti   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!