Skip to content

Instantly share code, notes, and snippets.

@charz
Created March 18, 2016 09:16
Show Gist options
  • Save charz/c15c231cb0a2a028de67 to your computer and use it in GitHub Desktop.
Save charz/c15c231cb0a2a028de67 to your computer and use it in GitHub Desktop.
$ dpkg -l |grep iotop
ii iotop 0.4.4-4 simple top-like I/O monitor
(test-iotop)$ python
Python 2.7.3 (default, Dec 18 2014, 19:10:20)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iotop
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named iotop
>>>
$ deactivate
$ python
Python 2.7.3 (default, Dec 18 2014, 19:10:20)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import iotop
>>> iotop
<module 'iotop' from '/usr/lib/python2.7/dist-packages/iotop/__init__.pyc'>
>>>
KeyboardInterrupt
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment