Fuser 命令
阅读量:
查看访问/占用指定路径的进程
参数
-
-i, --interactive
:当有-k
时,进行询问 -
-k, --kill
:杀死访问指定路径的进程 -
-u, --user
:显示用户 ID -
-v, --verbose
:输出详细信息,USER、PID、ACCESS、COMMAND
ACCESS 含义
-
c
– current directory -
e
– an executable file being run -
f
– open file, however, f is left out in the output -
F
– open file for writing, F is as well excluded from the output -
r
– root directory -
m
– mmap’ed file or shared library
参考链接
- https://www.tecmint.com/learn-how-to-use-fuser-command-with-examples-in-linux/ #待整理笔记
反向链接
到头儿啦~