Total DISK READ : 0.00 B/s | Total DISK WRITE : 39.48 K/s
Actual DISK READ: 0.00 B/s | Actual DISK WRITE: 0.00 B/s
PID PRIO USER DISK READ DISK WRITE> SWAPIN IO COMMAND
12345 be/4 root 0.00 B 124.00 K 0.00 % 0.00 % python server.py
12346 be/4 root 0.00 B 100.00 K 0.00 % 0.00 % python server.py
1
iotop -o -P -a
1
2
3
4
5
6
7
8
-o, --only
Only show processes or threads actually doing I/O, instead of showing all processes or threads.
This can be dynamically toggled by pressing o.
-P, --processes
Only show processes. Normally iotop shows all threads.
-a, --accumulated
Show accumulated I/O instead of bandwidth. In this mode, iotop shows the amount of I/O processes
have done since iotop started.
lsof
列正在写的文件
1
lsof | grep 'w\s*REG'
ag
比grep、ack更快的递归搜索文件内容
fzf
1
2
3
4
5
6
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
or upgrade
cd ~/.fzf && git pull && ./install