SHELL 003 -- ss命令常用方法
[root@LNP]~# ss -anp|grep 111
LISTEN 0 128 :::111 :::* users:(("rpcbind",1221,11))
LISTEN 0 128 *:111 *:* users:(("rpcbind",1221,8))
[root@LNP]~# ss -an|grep 111
LISTEN 0 128 :::111 :::*
LISTEN 0 128 *:111 *:*
[root@LNP]~# ss -anp|grep rpcbind
LISTEN 0 128 :::111 :::* users:(("rpcbind",1221,11))
LISTEN 0 128 *:111 *:* users:(("rpcbind",1221,8))
[root@LNP]~# ss -ap|grep rpcbind
LISTEN 0 128 :::sunrpc :::* users:(("rpcbind",1221,11))
LISTEN 0 128 *:sunrpc *:* users:(("rpcbind",1221,8))
[root@LNP]~# ss -s
Total: 436 (kernel 437)
TCP: 13 (estab 1, closed 0, orphaned 0, synrecv 0, timewait 0/0), ports 8Transport Total IP IPv6
* 437 - -
RAW 0 0 0
UDP 8 5 3
TCP 13 8 5
INET 21 13 8
FRAG 0 0 0
[root@LNP]~# ss -l
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::37829 :::*
LISTEN 0 128 127.0.0.1:cslistener *:*
LISTEN 0 128 :::sunrpc :::*
LISTEN 0 128 *:sunrpc *:*
LISTEN 0 128 *:http *:*
LISTEN 0 128 :::ssh :::*
LISTEN 0 128 *:ssh *:*
LISTEN 0 128 127.0.0.1:ipp *:*
LISTEN 0 128 ::1:ipp :::*
LISTEN 0 100 ::1:smtp :::*
LISTEN 0 100 127.0.0.1:smtp *:*
LISTEN 0 128 *:33850 *:*
[root@LNP]~# ss -a
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::37829 :::*
LISTEN 0 128 127.0.0.1:cslistener *:*
LISTEN 0 128 :::sunrpc :::*
LISTEN 0 128 *:sunrpc *:*
LISTEN 0 128 *:http *:*
LISTEN 0 128 :::ssh :::*
LISTEN 0 128 *:ssh *:*
LISTEN 0 128 127.0.0.1:ipp *:*
LISTEN 0 128 ::1:ipp :::*
LISTEN 0 100 ::1:smtp :::*
LISTEN 0 100 127.0.0.1:smtp *:*
LISTEN 0 128 *:33850 *:*
ESTAB 0 52 192.168.217.14:ssh 192.168.217.1:59342
[root@LNP]~# ss -ta
State Recv-Q Send-Q Local Address:Port Peer Address:Port
LISTEN 0 128 :::37829 :::*
LISTEN 0 128 127.0.0.1:cslistener *:*
LISTEN 0 128 :::sunrpc :::*
LISTEN 0 128 *:sunrpc *:*
LISTEN 0 128 *:http *:*
LISTEN 0 128 :::ssh :::*
LISTEN 0 128 *:ssh *:*
LISTEN 0 128 127.0.0.1:ipp *:*
LISTEN 0 128 ::1:ipp :::*
LISTEN 0 100 ::1:smtp :::*
LISTEN 0 100 127.0.0.1:smtp *:*
LISTEN 0 128 *:33850 *:*
ESTAB 0 52 192.168.217.14:ssh 192.168.217.1:59342
[root@LNP]~# ss -ua
State Recv-Q Send-Q Local Address:Port Peer Address:Port
UNCONN 0 0 127.0.0.1:1001 *:*
UNCONN 0 0 *:sunrpc *:*
UNCONN 0 0 *:ipp *:*
UNCONN 0 0 *:33471 *:*
UNCONN 0 0 *:972 *:*
UNCONN 0 0 :::sunrpc :::*
UNCONN 0 0 :::39823 :::*
UNCONN 0 0 :::972 :::*
SHELL 003 -- ss命令常用方法相关推荐
- python调用shell命令-Python调用shell命令常用方法(4种)
方法一.使用os模块的system方法:os.system(cmd),其返回值是shell指令运行后返回的状态码,int类型,0表示shell指令成功执行,256表示未找到,该方法适用于shell命令 ...
- shell ss命令
ss命令用来显示处于活动状态的套接字信息.ss命令可以用来获取socket统计信息,它可以显示和netstat类似的内容.但ss的优势在于它能够显示更多更详细的有关TCP和连接状态的信息,而且比net ...
- ss命令的参数及使用详解
ss - another utility to investigate sockets ss - 研究套接字的另一个实用程序 参数 Usage: ss [ OPTIONS ]ss [ OPTIONS ...
- 网络检测神器 ss 命令,你可能根本就不会用!
今天我们来介绍一下 Linux ss 命令. ss是 Socket Statistics 的缩写,用来统计 socket 连接的相关信息,它跟 netstat 差不多,但有着比 netstat 更强大 ...
- shell介绍,命令历史,命令补全和别名 ,通配符, 输入输出重定向
2019独角兽企业重金招聘Python工程师标准>>> shell介绍 shell是一个命令解释器,提供用户和机器之间的交互: 支持特定语法,比如逻辑判断.循环: 每个用户都可以有自 ...
- 执行远程linux命令,linux shell 远程执行命令
经常要部署多台服务器上面的应用,如果一个个机器的登录太麻烦. 所有就想到编写一个脚本来部署不同的服务器 前提条件: 配置ssh免登陆 如果不会的请参加我的另外一篇文章 http://blog.csdn ...
- shell的嵌入命令大全
围绕以下几点展开学习: 1.什么是shell的嵌入命令? 2.为什么使用shell? 3.怎样使用shell嵌入命令? 1.什么是shell的嵌入命令: ♦这些命令是在实际的Bourne shell里 ...
- linux 的ss看进程号,linux ss命令详解
ss 是 Socket Statistics 的缩写.ss 命令可以用来获取 socket 统计信息,它显示的内容和 netstat 类似.但 ss 的优势在于它能够显示更多更详细的有关 TCP 和连 ...
- linux read函数_Linux中shell输入ls命令后会系统会发生什么
大家都用过Shell执行一些Linux命令 在命令的背后,到底发生了什么呢,让我们来一起探索 Shell执行主流程 1.Printthe info of reminding 打印提示信息 2.Wait ...
最新文章
- oracle存储空间管理,Oracle存储空间管理
- 国产最强开源 API 网关,没有之一,不接受任何反驳!
- 网络应用 axIos的基本使用
- WCF方法拦截及OperationInvoker传递参数到WCF方法的实现
- 不包含本位置值的累乘数组
- 语义化版本命名通行规则
- 第二章:Java_基本语法_5 数组
- Objective-c 子类重写方法调用[super method]小实验
- Git子模块头#39;引用不是树#39;错误
- springboot10 Web开发静态资源
- Sleep 方案解决主备延迟
- IDEA设置背景颜色(护眼色)
- 常见免费邮箱 SMTP 服务地址及端口
- 首都师范 博弈论 5 4 3 多人合作博弈问题 Shapley值计算之股权与控股权
- 从10万到百亿营收的背后 | 同程旅游CTO V课堂实录
- Android【语音合成TTS】
- 微信JS-SDK说明文档 能调用微信扫一扫 ,那能不能让浏览器支持微信支付呢
- 2019最值得关注的科技趋势【附罗振宇跨年演讲视频】
- java applet插件_Atitit.java的浏览器插件技术 Applet japplet attilax总结
- TGRS2022/遥感:An Empirical Study of Remote Sensing Pretraining遥感预训练的实证研究
热门文章
- 关于@PathVariable与@RequestParam
- 关于40G/100G高速PHY的测试
- Javascript中对空string调用split返回不是空数组
- 【iOS-Cocos2d游戏开发之八】开启高清(960*640)模式问题与解答、图片适配以及设置iphone横竖屏...
- 建好ftp服务器后怎么从客户端更改密码?
- 这个乐趣,使用芯片操作集成电路
- 第八届蓝桥杯JavaB---承压计算
- 用Aliyun E-MapReduce集群的sqoop工具和数据库同步数据如何配置网络
- 85、android handler的警告Handler Class Should be Static or Leaks Occur
- Truncate Table 删除表内容避免产生过多日志