Skip to content

Commit

Permalink
parametrize version string and bump up ver to 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tanelpoder committed Mar 15, 2021
1 parent 8c06d0a commit cec6f07
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/psn
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
# "#!/usr/bin/env python26"
#

PSN_VERSION = '1.1.0'

import sys, os, os.path, time, datetime
import re
import sqlite3
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cec6f07

Please sign in to comment.