博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
查看端口占用情况
阅读量:2180 次
发布时间:2019-05-01

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

我们可以使用两个命令

[root@jdk tools]# lsof -i:80

COMMAND  PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
nginx   5841   root    6u  IPv4  22906      0t0  TCP *:http (LISTEN)

nginx   5842 nobody    6u  IPv4  22906      0t0  TCP *:http (LISTEN)

[root@jdk tools]# netstat -antp

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN      5841/nginx          
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      3407/sshd           
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN      1322/master         
tcp        0     64 192.168.79.132:22           192.168.79.1:50986          ESTABLISHED 3279/sshd           
tcp        0      0 :::22                       :::*                        LISTEN      3407/sshd           
tcp        0      0 ::1:25                      :::*                        LISTEN      1322/master  

转载地址:http://gdnkb.baihongyu.com/

你可能感兴趣的文章
Bagging 简述
查看>>
详解 Stacking 的 python 实现
查看>>
简述极大似然估计
查看>>
用线性判别分析 LDA 降维
查看>>
用 Doc2Vec 得到文档/段落/句子的向量表达
查看>>
使聊天机器人具有个性
查看>>
使聊天机器人的对话更有营养
查看>>
一个 tflearn 情感分析小例子
查看>>
attention 机制入门
查看>>
手把手用 IntelliJ IDEA 和 SBT 创建 scala 项目
查看>>
GAN 的 keras 实现
查看>>
AI 在 marketing 上的应用
查看>>
Logistic regression 为什么用 sigmoid ?
查看>>
Logistic Regression 为什么用极大似然函数
查看>>
SVM 的核函数选择和调参
查看>>
LightGBM 如何调参
查看>>
用 TensorFlow.js 在浏览器中训练神经网络
查看>>
cs230 深度学习 Lecture 2 编程作业: Logistic Regression with a Neural Network mindset
查看>>
梯度消失问题与如何选择激活函数
查看>>
为什么需要 Mini-batch 梯度下降,及 TensorFlow 应用举例
查看>>