repo.or.cz
/
bwmon.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix output of command line
[bwmon.git]
/
runmonitor.py
blob
08f523490a1eb28780668fe85dd30b667247da2b
1
#!/usr/bin/python
2
# -*- coding: utf-8 -*-
3
4
from
__future__
import
absolute_import
5
6
import
os
7
import
sys
8
9
sys
.
path
.
insert
(
0
,
os
.
path
.
dirname
(
__file__
)
or
'.'
)
10
11
if
__name__
==
'__main__'
:
12
import
bwmon
13
14
monitor
=
bwmon
.
Monitor
()
15
monitor
.
loop
()
16