linux & windows 查看端口情况
2016-05-30 00:09
441 查看
linux
1、 netstat -tlnp 查看端口情况
2、netstat -tlnp | grep 30227 筛选 查看30227端口
3、lsof -i :80 查看80端口
windows
1、netstat -aon|findstr "30316"
2、tskill 6340 杀死进程
或者 taskkill /pid 6340 -t -f
1、 netstat -tlnp 查看端口情况
2、netstat -tlnp | grep 30227 筛选 查看30227端口
3、lsof -i :80 查看80端口
windows
1、netstat -aon|findstr "30316"
C:\Users\xxx>netstat -aon|findstr "30316" TCP 0.0.0.0:30316 0.0.0.0:0 LISTENING 6340 TCP [::]:30316 [::]:0 LISTENING 6340
2、tskill 6340 杀死进程
或者 taskkill /pid 6340 -t -f
相关文章推荐
- Linux下运用sh脚本运行可执行的jar文件
- linux下vim命令详解
- 字段分隔符IFS
- Linux 技巧:让进程在后台可靠运行的几种方法
- CentOS 7.1 上golang环境配置
- linux centos创建共享目录 samba share
- linux——学习篇(三)之makefile的简单应用及实现简单的进度条
- linux 64位溢出
- linux (rh7)下/etc/passwd文件分析
- ubuntu 安装 单机版hbase
- CentOS搭建本地光盘YUM源
- Linux 开机过程
- 【linux】浅谈Linux下的 find 指令
- 强悍的 Linux —— 权限管理(组及用户管理)
- Linux驱动之Kobject、Kset (二)uevent mdev ktype type
- Linux下没有 itoa
- Linux定时任务
- centos6 下安装MySQL-python
- linux内核container_of宏获取结构体地址
- linux进程通信--无名管道