crash命令 —— fuser

参考:https://crash-utility.github.io/help_pages/fuser.html

用法:

  • 查看一个文件正在被哪些进程使用,这里的文件可以是路径名,也可以是文件的inode地址
    • 显示的信息中包含进程的pid,进程的task_struct地址,进程的名字以及使用方式

fuser <文件路径> 或者 fuser <inode地址>

posted @ 2022-05-28 22:57  摩斯电码  阅读(91)  评论(0编辑  收藏  举报