Sep 302014
 

Ci spiace, ma questo articolo è disponibile soltanto in Inglese Americano.

Popular Posts:

Flattr this!

  4 Responses to “(English) Linux Terminal: An lsof Primer”

  1. Man page URL comes up 404

  2. A great overview, I never knew lsof could be used to examine network connections. Thank you!

  3. Another useful command I heard from someone is `lsof -n | grep -i del`. That shows what I think might be similar to the +L1 you mention at the end — it detects files that have been deleted but still exist because they’re open. Something it’s useful for is, for example, after upgrading a program or library, finding all running copies of the old program or programs using the old library, so you can go and kill/restart them.

  4. Hm, at the start of the article you mentioned that by default options are OR’d unless you specify -a, but in the advanced sections you have a couple commands that use multiple options without -a, where it looks like you’re looking for AND.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

*