« Lsof » : différence entre les versions

De bricosoft
m Page créée avec « <div class="thumb tleft"><google uid="C08" position="left"></google></div> <div class="thumb tright">{{#widget:Twitter Search |query={{PAGENAME}} |title=Bricosoft.com/{{PAGEN… »
 
m Nettoyage : gabarit 2012 (widgets Twitter/Google/DISQUS morts et fichiers fantômes)
 
Ligne 1 : Ligne 1 :
<div class="thumb tleft"><google uid="C08" position="left"></google></div>
<div class="thumb tright">{{#widget:Twitter Search |query={{PAGENAME}} |title=Bricosoft.com/{{PAGENAME}} |caption=Ce que les gens disent sur {{PAGENAME}} }} </div>
<div class="thumb tright">{{#widget:Twitter|user={{PAGENAME}}|count=8}}</div>
[[file:{{PAGENAME}}.png|thumb]]
[[file:{{PAGENAME}}.jpg|thumb]]
[[file:{{PAGENAME}}.gif|thumb]]
'''lsof''' est une commande unix wich "'''l'''i'''s'''t '''o'''pen '''f'''iles", qui liste les fichiers ouverts.
'''lsof''' est une commande unix wich "'''l'''i'''s'''t '''o'''pen '''f'''iles", qui liste les fichiers ouverts.



Dernière version du 3 novembre 2026 à 19:54

lsof est une commande unix wich "list open files", qui liste les fichiers ouverts.

$ lsof -P -i
COMMAND     PID       USER   FD   TYPE DEVICE SIZE NODE NAME
java       8094       toto   22u  IPv6 211097       TCP localhost:52760->localhost:80 (CLOSE_WAIT)
chrome     8186       toto  149u  IPv4 266841       TCP localhost:54077->google.com:443 (ESTABLISHED)
firefox-b 11719       toto   76u  IPv4 148486       TCP localhost:38978->google.fr:80 (ESTABLISHED)
evolution 26982       toto   44u  IPv4 234548       TCP localhost:59286->gmail.com:143 (ESTABLISHED)
ssh       27559       toto    3u  IPv4 239438       TCP localhost:32979->my-box.zz:22 (ESTABLISHED)
$ lsof -P -i -n
COMMAND     PID       USER   FD   TYPE DEVICE SIZE NODE NAME
java       8094       toto   22u  IPv6 211097       TCP 192.168.1.42:52760->192.168.1.90:80 (CLOSE_WAIT)
chrome     8186       toto  149u  IPv4 266841       TCP 192.168.1.42:54077->209.85.149.99:443 (ESTABLISHED)
firefox-b 11719       toto   76u  IPv4 148486       TCP 192.168.1.42:38978->209.85.149.99:80 (ESTABLISHED)
evolution 26982       toto   44u  IPv4 234548       TCP 192.168.1.42:59286->209.85.149.19:143 (ESTABLISHED)
ssh       27559       toto    3u  IPv4 239438       TCP 192.168.1.42:32979->207.97.227.239:22 (ESTABLISHED)

Liens