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
data.py get_cmdline: use errors=replace for unicode errors
[iotop.git]
/
iotop.py
blob
666c6b43bef5b323114abd6ad7555a66c844b259
1
#!/usr/bin/python3
2
# iotop: Display I/O usage of processes in a top like UI
3
# Copyright (c) 2007, 2008 Guillaume Chazarain <guichaz@gmail.com>
4
# GPL version 2 or later
5
# See iotop --help for some help
6
7
import
sys
8
9
from
iotop
.
ui
import
main
10
11
try
:
12
main
()
13
except
KeyboardInterrupt
:
14
pass
15
sys
.
exit
(
0
)