欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

linux列出管道,lsof列出的管道列表示什么意思?_linux_开发99编程知识库

发布时间:2023/12/10 46 豆豆
生活随笔 收集整理的这篇文章主要介绍了 linux列出管道,lsof列出的管道列表示什么意思?_linux_开发99编程知识库 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

文件不僅以流形式打開。 其中一些是在 lsof 手冊中列出的:FD is the File Descriptor number of the file or:

cwd current working directory;

Lnn library references (AIX);

err FD information error (see NAME column);

jld jail directory (FreeBSD);

ltx shared library text (code and data);

Mxx hex memory-mapped type number xx.

m86 DOS Merge mapped file;

mem memory-mapped file;

mmap memory-mapped device;

pd parent directory;

rtd root directory;

tr kernel trace file (OpenBSD);

txt program text (code and data);

v86 VP/ix mapped file;

FD is followed by one of these characters, describing the

mode under which the file is open:

r for read access;

w for write access;

u for read and write access;

space if mode unknown and no lock

character follows;

'-' if mode unknown and lock

character follows.

The mode character is followed by one of these lock charac-

ters, describing the type of lock applied to the file:

N for a Solaris NFS lock of unknown type;

r for read lock on part of the file;

R for a read lock on the entire file;

w for a write lock on part of the file;

W for a write lock on the entire file;

u for a read and write lock of any length;

U for a lock of unknown type;

x for an SCO OpenServer Xenix lock on part of the

file;

X for an SCO OpenServer Xenix lock on the entire

file;

space if there is no lock.

See the LOCKS section for more information on the lock

information character.

The FD column contents constitutes a single field for pars-

ing in post-processing scripts.

总结

以上是生活随笔为你收集整理的linux列出管道,lsof列出的管道列表示什么意思?_linux_开发99编程知识库的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。