如何查看每个进程的磁盘I / O利用率-iotop和pidstat在macOS上的Homebrew中不可用


Answers:


13

iotop在macOS / OS X本身中可用。

iotop依赖dtrace,但您必须在El Capitan / Sierra等系统中禁用SIP才能运行dtrace。

检查man iotop选项,然后以root身份执行iotop:

sudo iotop [-C] [-D|-o|-P] [-j|-Z] [-d device] [-f filename] [-m mount_point] [-t top] [interval [count]] 

2
您也可以选择禁用SIP,为讨论在这里
丹尼尔·格里斯康
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.