<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>UbunTux &#187; lsof</title>
	<atom:link href="http://ubuntux.info/tag/lsof/feed/" rel="self" type="application/rss+xml" />
	<link>http://ubuntux.info</link>
	<description>Si quieres aprender, enseña.</description>
	<lastBuildDate>Fri, 20 Aug 2010 17:17:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Usos de lsof</title>
		<link>http://ubuntux.info/2009/04/17/usos-de-lsof/</link>
		<comments>http://ubuntux.info/2009/04/17/usos-de-lsof/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 16:58:47 +0000</pubDate>
		<dc:creator>nepente</dc:creator>
				<category><![CDATA[intermedio]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[fichero]]></category>
		<category><![CDATA[lsof]]></category>
		<category><![CDATA[protocolo]]></category>
		<category><![CDATA[puerto]]></category>

		<guid isPermaLink="false">http://ubuntux.info/?p=326</guid>
		<description><![CDATA[A veces necesitamos saber que programa usa un puerto de conexión a internet. Con el siguiente comando podremos conocerlo lsof -i tcp:80 Donde tcp:80 es el protocolo:puerto del que queremos saber que lo esta usando. Otras veces lo que queremos saber es lo archivos que están abiertos por un PID. lsof -p 100 Donde 100 [...]]]></description>
			<content:encoded><![CDATA[<p>A veces necesitamos saber que programa usa un puerto de conexión a internet. Con el siguiente comando podremos conocerlo</p>
<p><code>lsof -i tcp:80</code></p>
<p>Donde tcp:80 es el protocolo:puerto del que queremos saber que lo esta usando.</p>
<p>Otras veces lo que queremos saber es lo archivos que están abiertos por un PID.</p>
<p><code>lsof -p 100</code></p>
<p>Donde 100 seŕa el número de PID del programa en cuestión</p>
<p>Si lo que conocemos es el nombre del fichero del programa usaremos</p>
<p><code>lsof -c firefo</code>x</p>
<p>Donde firefox es el programa y nos mostrará los ficheros abiertos por el.</p>



¿Te gustó este post? ¡Compártelo!


	<a rel="nofollow"  target="_blank" href="mailto:?subject=Usos%20de%20lsof&amp;body=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="email"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;partner=sociable" title="Print"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Usos%20de%20lsof%20-%20http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="Twitter"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://meneame.net/submit.php?url=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="Meneame"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/meneame.png" title="Meneame" alt="Meneame" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://barrapunto.com/submit.pl?subj=Usos%20de%20lsof&amp;story=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="BarraPunto"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/barrapunto.png" title="BarraPunto" alt="BarraPunto" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bitacoras.com/anotaciones/http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="Bitacoras.com"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/bitacoras.png" title="Bitacoras.com" alt="Bitacoras.com" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;title=Usos%20de%20lsof&amp;annotation=A%20veces%20necesitamos%20saber%20que%20programa%20usa%20un%20puerto%20de%20conexi%C3%B3n%20a%20internet.%20Con%20el%20siguiente%20comando%20podremos%20conocerlo%0D%0A%0D%0Alsof%20-i%20tcp%3A80%0D%0A%0D%0ADonde%20tcp%3A80%20es%20el%20protocolo%3Apuerto%20del%20que%20queremos%20saber%20que%20lo%20esta%20usando.%0D%0A%0D%0AOtras%20veces%20lo%20que%20querem" title="Google Bookmarks"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;title=Usos%20de%20lsof&amp;bodytext=A%20veces%20necesitamos%20saber%20que%20programa%20usa%20un%20puerto%20de%20conexi%C3%B3n%20a%20internet.%20Con%20el%20siguiente%20comando%20podremos%20conocerlo%0D%0A%0D%0Alsof%20-i%20tcp%3A80%0D%0A%0D%0ADonde%20tcp%3A80%20es%20el%20protocolo%3Apuerto%20del%20que%20queremos%20saber%20que%20lo%20esta%20usando.%0D%0A%0D%0AOtras%20veces%20lo%20que%20querem" title="Digg"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;title=Usos%20de%20lsof&amp;notes=A%20veces%20necesitamos%20saber%20que%20programa%20usa%20un%20puerto%20de%20conexi%C3%B3n%20a%20internet.%20Con%20el%20siguiente%20comando%20podremos%20conocerlo%0D%0A%0D%0Alsof%20-i%20tcp%3A80%0D%0A%0D%0ADonde%20tcp%3A80%20es%20el%20protocolo%3Apuerto%20del%20que%20queremos%20saber%20que%20lo%20esta%20usando.%0D%0A%0D%0AOtras%20veces%20lo%20que%20querem" title="del.icio.us"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;t=Usos%20de%20lsof" title="Facebook"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F&amp;title=Usos%20de%20lsof" title="Reddit"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fubuntux.info%2F2009%2F04%2F17%2Fusos-de-lsof%2F" title="Technorati"><img src="http://ubuntux.info/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>


<br/><br/>
	<h4>Entradas relacionadas</h4>
	<ul class="st-related-posts">
	<li><a href="http://ubuntux.info/2009/03/01/un-contador/" title="Un contador (1 marzo 2009)">Un contador</a> (0)</li>
	<li><a href="http://ubuntux.info/2009/11/16/test-de-velocidad-al-disco-duro/" title="Test de velocidad al disco duro (16 noviembre 2009)">Test de velocidad al disco duro</a> (0)</li>
	<li><a href="http://ubuntux.info/2009/04/12/reparar-servidor-de-sonido-en-ubuntu/" title="Reparar servidor de sonido en Ubuntu (12 abril 2009)">Reparar servidor de sonido en Ubuntu</a> (0)</li>
	<li><a href="http://ubuntux.info/2009/04/21/reconfigura-la-zona-horaria-en-ubuntu/" title="Reconfigura la zona horaria en Ubuntu (21 abril 2009)">Reconfigura la zona horaria en Ubuntu</a> (0)</li>
	<li><a href="http://ubuntux.info/2009/04/25/puesta-apunto-de-ubuntu-904-jaunty-jackalope/" title="Puesta apunto de Ubuntu 9.04 Jaunty Jackalope (25 abril 2009)">Puesta apunto de Ubuntu 9.04 Jaunty Jackalope</a> (13)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://ubuntux.info/2009/04/17/usos-de-lsof/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
