博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
DB2 Error
阅读量:4676 次
发布时间:2019-06-09

本文共 1305 字,大约阅读时间需要 4 分钟。

To determine which ports are open, first Identify the services by using the

netstat command as follows:
ibmuser@lkasatcap1:/home/ibmuser>netstat -af inet
The last column of the netstat command output indicates the state of each
service. Services that are waiting for incoming connections are in the
LISTEN state.
ibmuser@lkasatcap1:/home/ibmuser>netstat -Aan | grep 6191
f1000e0000552bb0 tcp 0 0 *.6191 *.*
LISTEN
Get the PID
ibmuser@lkasatcap1:/home/ibmuser>rmsock f1000e0000552bb0 tcpcb
The socket 0x552808 is being held by proccess 3342730 (clcomd).
Get the actual process
ibmuser@lkasatcap1:/home/ibmuser>ps -ef | grep 3342730
root 3342730 1966366 0 Aug 07 - 0:26
/usr/es/sbin/cluster/clcomd -d
Get the Parent ID(PPID) of process
ibmuser@lkasatcap1:/home/ibmuser>ps -ef | grep 1966366
===
Another way is to use "lsof" command
Note:-lsof for AIX 6.1 resides on AIX Expansion Pack media.
Trace Port # & PID
ibmuser@lkasatcap1:/home/ibmuser>lsof | grep 161
snmpdv3ne 2294274 root 5u IPv6 0xf1000e0008caae00
0t0 UDP *:161
Get the actual process
ibmuser@lkasatcap1:/home/ibmuser>ps -ef | grep 2294274
root 2294274 1966366 0 Aug 07 - 0:07 /usr/sbin/snmpd
Get the PPID
ibmuser@lkasatcap1:/home/ibmuser>ps -ef | grep 1966366

 

单播、广播、组播

 

PING:

转载于:https://www.cnblogs.com/diyunpeng/archive/2012/05/28/2520960.html

你可能感兴趣的文章
[Node.js] node-persist: localStorage on the server
查看>>
jquery.event 研究学习之bind篇
查看>>
LOJ #108. 多项式乘法
查看>>
libusb开发指南
查看>>
SAS基础 -- 逻辑库不存在问题解决
查看>>
Servlet监听器统计在线人数
查看>>
第2章 数字之魅——寻找发帖“水王”
查看>>
eclipse jsp html 格式化 format
查看>>
关于手机端IOS系统微信中虚拟键盘遮挡input输入框问题的解决方案 草稿
查看>>
css3背景、边框、和补丁相关属性 (二)
查看>>
Python--小功能应用
查看>>
别做操之过急的”无效将军”,做实实在在的”日拱一卒”
查看>>
js去除范围内所有标签并显示指定字符串
查看>>
结对项目进度2
查看>>
git + git flow 的简单介绍
查看>>
如果我们想要交换两个数字,就可以使用位运算
查看>>
求给出第 K个 N位二进制数,该二进制数不得有相邻的“1”
查看>>
P1059 明明的随机数【去重排序】
查看>>
HDU 1060 Leftmost Digit【log10/求N^N的最高位数字是多少】
查看>>
tomcat配置文件web.xml与server.xml解析--重要
查看>>