repo.or.cz
/
iotop.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iotop is a mix of top(1) and vmstat(1)
[iotop.git]
/
iotop.py
blob
ba0580dba861e2dd13f4a9afcacdecb0613338c4
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
5
6
import
sys
7
8
from
iotop
.
ui
import
main
9
10
try
:
11
main
()
12
except
KeyboardInterrupt
:
13
pass
14
sys
.
exit
(
0
)