Skip to content

Two lsof sections. #35

@stappersg

Description

@stappersg

There are two sections that cover the lsof command.

$ git grep  lsof
docs/lpic2.200.1.md:-   `lsof`
docs/lpic2.200.1.md:##  lsof
docs/lpic2.200.1.md:The `lsof` command is used to list information about
docs/lpic2.200.1.md:*open files* and their corresponding processes. `lsof` will handle
docs/lpic2.200.1.md:By default, lsof will show unformatted output which might be hard to
docs/lpic2.200.1.md:        $ lsof options names
docs/lpic2.200.1.md:The names argument acts as a filter here. Without options, `lsof` will
docs/lpic2.200.1.md:        $ sudo lsof /var/run/utmp
docs/lpic2.200.1.md:        $ sudo lsof +d /var/log
docs/lpic2.200.1.md:This last example causes `lsof` to search for all open instances of
docs/lpic2.205.2.md:-   `/usr/sbin/lsof`
docs/lpic2.205.2.md:###   lsof
docs/lpic2.205.2.md:The `lsof` command lists all open files on a system. Since Linux
docs/lpic2.205.2.md:Options of the `lsof` used for network troubleshooting.
docs/lpic2.205.2.md:-   Do not resolve hostnames; can make `lsof` run faster.
docs/lpic2.205.2.md:-   Do not resolve port names; can make `lsof` run faster.
docs/lpic2.205.2.md:Like `lsof`, `netstat` is a program to list open ports on a
$

This issue has now reported the duplicate. How to deal with it, is yet unknown / undecided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions