📜  linux 检查文件增长速度 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:22.553000             🧑  作者: Mango

代码示例1
sudo apt install progress
pid=$(lsof -t {{file}}); progress -mp "$pid"

#or with pv (no need to install anything)
lsof {{file}}
#find the pid and the df
pv -d "{{pid}}:{{fd}}"