Skip to content

Commit cec6f07

Browse files
committed
parametrize version string and bump up ver to 1.1.0
1 parent 8c06d0a commit cec6f07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/psn

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
# "#!/usr/bin/env python26"
3434
#
3535

36+
PSN_VERSION = '1.1.0'
37+
3638
import sys, os, os.path, time, datetime
3739
import re
3840
import sqlite3
@@ -257,7 +259,7 @@ def main():
257259
total_measure_s = 0.
258260
else:
259261
print
260-
print('Linux Process Snapper v0.18 by Tanel Poder [https://0x.tools]')
262+
print('Linux Process Snapper v%s by Tanel Poder [https://0x.tools]' % PSN_VERSION)
261263
print('Sampling /proc/%s for %d seconds...' % (', '.join([s.name for s in sources.keys()]), args.sample_seconds)),
262264
sys.stdout.flush()
263265
num_sample_events = 0

0 commit comments

Comments
 (0)