Tip-Linux Command lsof

2019-05-26  本文已影响0人  cctoken

OverView

lsof
list all open files

lsof

lsof -u [username]

lsof -i 4
lsof -i 6

lsof -p [pid]
lsof -p [^pid], use ^ means exclude the pid

lsof -t [filename with path]

lsof +D [directory]

lsof -i 没有参数

lsof -i :1-1024

lsof -i udp

lsof -p [pid] -R
attention, use "-R"

Lsof Reference

上一篇 下一篇

猜你喜欢

热点阅读