查找IBM MQ队列管理器的端口号 [英] find port number of IBM MQ Queue Manager

查看:2397
本文介绍了查找IBM MQ队列管理器的端口号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以下命令创建了一个队列管理器 这些命令在linux机器上

I have created a queue manager using these commands in a linux machine

crtmqm MQ1
strmqm MQ1
runmqsc MQ1

队列管理器创建成功,

我想知道队列管理器MQ1在哪个端口上运行,我尝试了所有可能的方式netstat -au以及ps -ef命令.看起来它正在其他端口上运行.我找不到运行该端口的正确端口号,有人可以帮忙吗?

i wanted to know on which port is the queue manager MQ1 running, i tried all possible ways netstat -au and also ps -ef command. It looks like it is running on a different port. I am unable to find the correct port number where it is running, could anyone help?

推荐答案

通过-p选项将netstat用作根用户

Use netstat as root with -p option

sudo netstat -nltp
[sudo] password for root: 
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      1362/dnsmasq        
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1580/sshd           
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      1480/cupsd

最后一列提供PID和程序名称".如果您与用户一起运行队列管理器,则无需sudo.

The last column gives the PID and 'Program name'. If you are running the queue manager with your user, you don't need to sudo.

这篇关于查找IBM MQ队列管理器的端口号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆