Commit ce36170f authored by Karsten Loesing's avatar Karsten Loesing
Browse files

Merge branch 'task-40008' into develop

parents 118d1499 0bf86a60
...@@ -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):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment