[![Travis CI Linux Build Status](https://travis-ci.org/lsof-org/lsof.svg?branch=master)](https://travis-ci.org/lsof-org/lsof)
[![Coveralls Linux Coverage Status on Travis CI](https://coveralls.io/repos/github/lsof-org/lsof/badge.svg?branch=master)](https://coveralls.io/github/lsof-org/lsof?branch=master)
# lsof
[lsof](https://en.wikipedia.org/wiki/Lsof) is a command listing open files.
How it works:
```
$ cat > /tmp/LOG &
cat > /tmp/LOG &
[1] 18083
$ lsof -p 18083
lsof -p 18083
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
cat 18083 yamato cwd DIR 0,44 1580 43460784 /tmp/lsof
cat 18083 yamato rtd DIR 253,2 4096 2 /
cat 18083 yamato txt REG 253,2 47432 678364 /usr/bin/cat
cat 18083 yamato mem REG 253,2 111950656 681778 /usr/lib/locale/locale-archive
cat 18083 yamato mem REG 253,2 2119256 679775 /usr/lib64/libc-2.27.so
cat 18083 yamato mem REG 253,2 187632 655943 /usr/lib64/ld-2.27.so
cat 18083 yamato mem REG 253,2 26370 662532 /usr/lib64/gconv/gconv-modules.cache
cat 18083 yamato mem REG 253,2 3316 1578981 /usr/lib/locale/en_US.utf8/LC_TIME
cat 18083 yamato 0u CHR 136,3 0t0 6 /dev/pts/3
cat 18083 yamato 1w REG 0,44 0 54550934 /tmp/LOG
cat 18083 yamato 2u CHR 136,3 0t0 6 /dev/pts/3
```
# lsof-org at GitHub
The lsof-org team at GitHub takes over the maintainership of lsof
originally developed and maintained by Vic Abell. This repository is for maintaining
the final source tree of lsof inherited from Vic. "legacy" branch
keeps the original source tree. We will not introduce any changes to
the "legacy" branch. This branch is just for reference.
"master" branch is used for maintenance. Bug fixes and enhancements go
to "master" branch.
lsof had supported many OSes. A term "dialect" represents code for
supporting OSes. Because of limitted resources, we will maintain the
part of them. The current status of maintaince is as follows:
<dl>
<dt>freebsd</dt>
<dd>partially maintained, but testing on Cirrus CI is temporary disabled</dd>
<dt>linux</dt>
<dd>fully maintained, and tested on Travis CI</dd>
<dt>darwin</dt>
<dd>not maintained, but partially tested on Travis CI</dd>
</dl>
If you are interested in maintaining a dialect, let us know via the
issue tracker of GitHub (https://github.com/lsof-org/lsof/issues). If
we cannot find a volunteer for a dialect, we will remove the dialect.
Many texts in the source tree still refers purdue.edu as the home of
lsof development. It should be https://github.com/lsof-org/lsof, the
new home. The updating is in progress.
We ran another repository, lsof-org/"lsof-linux" derived from
lsof-4.91 that was also released by Vic. The repository is no more
used; all the changes made in the repository are now in lsof-org/"lsof"
repository.
The lsof-org team at GitHub
没有合适的资源?快使用搜索试试~ 我知道了~
lsof-master
共392个文件
c:140个
h:65个
bash:30个
需积分: 9 1 下载量 78 浏览量
2021-01-19
19:13:20
上传
评论
收藏 1.51MB ZIP 举报
温馨提示
lsof源码包,适合多种操作系统进行编译aix\darwin\du\freebsd\hpux linux\n+obsd\n+os\osr\sun\uw
资源详情
资源评论
资源推荐
收起资源包目录
lsof-master (392个子文件)
00CREDITS 9KB
00DCACHE 30KB
00DIALECTS 165B
00DIST 187KB
00FAQ 306KB
lsof.00INDEX 4KB
contrib.00INDEX 543B
00LSOF-L 3KB
00MANIFEST 3KB
00MANIFEST 2KB
00PORTING 65KB
00PORTING 65KB
00QUICKSTART 36KB
00README 57KB
00README 3KB
00README 2KB
00README 312B
00TEST 34KB
00XCONFIG 24KB
lsofAPI.1 9KB
lsofAPI.2 7KB
lsofAPI.3 2KB
lsofAPI.4 3KB
lsofAPI.5 7KB
Lsof.8 120KB
Lsof.8 118KB
Add2TestDB 2KB
AFSConfig 7KB
AIXDistrib 253B
argtest 2KB
list_fields.awk 6KB
xusers.awk 4KB
case-20-ux-socket-endpoint-unaccepted.bash 3KB
case-20-pty-endpoint.bash 3KB
case-20-mqueue-endpoint.bash 3KB
case-20-eventfd-endpoint.bash 3KB
case-20-pipe-no-close-endpoint.bash 2KB
check.bash 2KB
case-10-ux-socket-state.bash 2KB
case-10-mqueue.bash 1KB
case-20-pipe-endpoint.bash 1KB
case-20-inet6-socket-endpoint.bash 1KB
case-20-fd-only-inclusion.bash 975B
case-20-inet6-ffffffff-handling.bash 941B
case-20-inet-socket-endpoint.bash 913B
case-20-ux-socket-endpoint.bash 909B
case-13-classic.bash 882B
case-14-classic-opt.bash 852B
case-01-version.bash 730B
case-20-epoll.bash 653B
case-00-hello.bash 604B
case-20-pidfd-pid.bash 456B
util-open-flags.bash 379B
case-20-offset-field.bash 327B
case-20-handle-missing-files.bash 322B
case-20-repeat-count.bash 269B
case-00-linux-hello.bash 159B
case-20-open-flags-tmpf.bash 106B
case-20-open-flags-path.bash 105B
case-20-open-flags-cx.bash 103B
case-00-darwin-hello.bash 7B
case-00-freebsd-hello.bash 7B
basic_RE 1KB
2004-2005-report.bz2 526B
regex.c 196KB
dsock.c 124KB
dnode.c 122KB
print.c 59KB
print.c 58KB
arg.c 54KB
dsock.c 52KB
dproc.c 51KB
dproc.c 46KB
dproc.c 44KB
dsock.c 41KB
main.c 41KB
proc.c 41KB
main.c 39KB
dnode.c 36KB
dnode.c 36KB
dproc.c 35KB
misc.c 35KB
misc.c 35KB
dproc.c 33KB
dvch.c 33KB
proc.c 31KB
dnode.c 30KB
ptti.c 30KB
dnode.c 28KB
dsock.c 27KB
dsock.c 26KB
LTlib.c 25KB
ddev.c 25KB
usage.c 24KB
dproc.c 22KB
dnode.c 22KB
dnode.c 21KB
LTsock.c 21KB
dnode.c 20KB
dproc.c 20KB
共 392 条
- 1
- 2
- 3
- 4
myiostream
- 粉丝: 9
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0