---
title: "查看端口对应的进程"
author: "lysming"
date: "2012-02-24T13:02:36Z"
tags: []
categories: ["操作系统"]
slug: "untitled"
draft: false
lastmod: "2012-02-24T13:06:42Z"
id: 1421731
url: "https://lysming.iteye.com/blog/1421731"
---

#ps -ef|awk '{print $2"\t"$8$9}'|grep `netstat -tlnp|grep port|awk '{print $7}'|awk -F '/' '{print $1}'`