From cec6f07e39242894cb1b81f330d8b5c074e7448a Mon Sep 17 00:00:00 2001 From: Tanel Poder Date: Mon, 15 Mar 2021 18:38:14 -0400 Subject: [PATCH] parametrize version string and bump up ver to 1.1.0 --- bin/psn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/psn b/bin/psn index 417722f..1aaee50 100755 --- a/bin/psn +++ b/bin/psn @@ -33,6 +33,8 @@ # "#!/usr/bin/env python26" # +PSN_VERSION = '1.1.0' + import sys, os, os.path, time, datetime import re import sqlite3 @@ -257,7 +259,7 @@ def main(): total_measure_s = 0. else: print - print('Linux Process Snapper v0.18 by Tanel Poder [https://0x.tools]') + print('Linux Process Snapper v%s by Tanel Poder [https://0x.tools]' % PSN_VERSION) print('Sampling /proc/%s for %d seconds...' % (', '.join([s.name for s in sources.keys()]), args.sample_seconds)), sys.stdout.flush() num_sample_events = 0