开始装iotp
1 tar xvf iotop-0.3.1.tar.gz
用python安装(如果没有蟒蛇, yum一个吧)
1 cd iotop-0.3.1 2 python setup.py build 3 python setup.py install
1 [root@slavedb1 iotop-0.3.1]# iotop 2 Traceback (most recent call last): 3 File “/usr/local/bin/iotop”, line 4, in 4 import pkg_resources 5 ImportError: No module named pkg_resources
我的资源