Finish man page renaming
[iotop.git] / bin / iotop
blobc4aa7201a50b3ced9d742a7c5f093dbac501f69a
1 #!/usr/bin/python
2 # iotop: Display I/O usage of processes in a top like UI
3 # Copyright (c) 2007, 2008 Guillaume Chazarain <guichaz@gmail.com>, GPLv2
4 # See iotop --help for some help
6 import sys
8 try:
9 from iotop.ui import main
10 except ImportError, e:
11 print e
12 print 'To run an uninstalled copy of iotop,'
13 print 'launch iotop.py in the top directory'
14 else:
15 try:
16 main()
17 except KeyboardInterrupt:
18 pass
19 sys.exit(0)