我知道我可以lsof path/to/file用来查看哪些进程当前打开了给定的文件。
lsof path/to/file
是否有类似top的命令可以用来持续监控哪些进程打开了给定的文件?
top
monitoring lsof
lsof ×1
monitoring ×1