Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionperf
Commits
ce36170f
Commit
ce36170f
authored
Dec 13, 2020
by
Karsten Loesing
Browse files
Merge branch 'task-40008' into develop
parents
118d1499
0bf86a60
Changes
1
Hide whitespace changes
Inline
Side-by-side
onionperf/onionperf
View file @
ce36170f
...
@@ -14,6 +14,8 @@ from socket import gethostname
...
@@ -14,6 +14,8 @@ from socket import gethostname
import
onionperf.util
as
util
import
onionperf.util
as
util
from
onionperf.monitor
import
get_supported_torctl_events
from
onionperf.monitor
import
get_supported_torctl_events
__version__
=
'0.8'
DESC_MAIN
=
"""
DESC_MAIN
=
"""
OnionPerf is a utility to monitor, measure, analyze, and visualize the
OnionPerf is a utility to monitor, measure, analyze, and visualize the
performance of Tor and Onion Services.
performance of Tor and Onion Services.
...
@@ -379,6 +381,7 @@ files generated by this script will be written""",
...
@@ -379,6 +381,7 @@ files generated by this script will be written""",
sys
.
exit
(
1
)
sys
.
exit
(
1
)
else
:
else
:
args
=
main_parser
.
parse_args
()
args
=
main_parser
.
parse_args
()
logging
.
info
(
"Starting OnionPerf version {0} in {1} mode."
.
format
(
__version__
,
sys
.
argv
[
1
]))
args
.
func
(
args
)
args
.
func
(
args
)
def
monitor
(
args
):
def
monitor
(
args
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment