<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; как посмотреть порты и процессы прикрепленные к ним?]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=30511&amp;type=atom" />
	<updated>2013-09-26T02:49:46Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=30511</id>
		<entry>
			<title type="html"><![CDATA[Re: как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364788#p364788" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>artstyle⇓ пишет:</cite><blockquote><p>после запуска парочки скриптов и выхода из них, скрипты продолжают работать и занимать открытые ранее ими порты. как посмотреть какие порты и какие процессы их занимают, и самое главное как их закрыть одной командой?</p></blockquote></div><p><strong>lsof -i</strong><br />покажет список процессов, которые слушают порты. Многие порты имеют название, см <span class="bbu">/etc/services</span></p><p>lsof показывает PID, его можно использовать как аргумент kill.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2013-09-26T02:49:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364788#p364788</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364464#p364464" />
			<content type="html"><![CDATA[<p>Убить — команды kill, killall, pkill</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-09-24T16:52:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364464#p364464</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364463#p364463" />
			<content type="html"><![CDATA[<p>благодарствую. тему можно закрыть</p>]]></content>
			<author>
				<name><![CDATA[artstyle]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31802</uri>
			</author>
			<updated>2013-09-24T16:52:14Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364463#p364463</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364462#p364462" />
			<content type="html"><![CDATA[<p>man lsof</p><p>Lupo Alberto опередил</p>]]></content>
			<author>
				<name><![CDATA[SkaarjZR]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6439</uri>
			</author>
			<updated>2013-09-24T16:49:19Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364462#p364462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364461#p364461" />
			<content type="html"><![CDATA[<p>Посмотреть<br /></p><div class="codebox"><pre><code>lsof -i :N</code></pre></div><p>где N — номер порта.</p>]]></content>
			<author>
				<name><![CDATA[Lupo Alberto]]></name>
				<uri>https://linuxforum.ru/profile.php?id=9018</uri>
			</author>
			<updated>2013-09-24T16:48:57Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364461#p364461</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[как посмотреть порты и процессы прикрепленные к ним?]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=364460#p364460" />
			<content type="html"><![CDATA[<p>здравствуйте. не знаю в какой раздел писать, поэтому отписываюсь тут.<br />есть пара вопросов касаемо линукса. <br />арендован сервер - дедик. стоит debian 7 wheezy<br />после запуска парочки скриптов и выхода из них, скрипты продолжают работать и занимать открытые ранее ими порты. как посмотреть какие порты и какие процессы их занимают, и самое главное как их закрыть одной командой?<br />смотрю top там нет ничего<br />смотрю netstats tpln там тоже ничего нет. но порт тем не менее закрыт за процессом.</p>]]></content>
			<author>
				<name><![CDATA[artstyle]]></name>
				<uri>https://linuxforum.ru/profile.php?id=31802</uri>
			</author>
			<updated>2013-09-24T16:38:24Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=364460#p364460</id>
		</entry>
</feed>
