<commit_before>
# Released under MIT License 2017

Small perl script that is a wrapper for hping3. Logs downtime, and latency deviations to STDOUT.

Prerequisites
	sudo apt-get install hping3
	User running logtcp.pl must have sudo with NOPASSWD: ALL in visudo
Usage
	perl logtcp.pl <ip> <port> [rtt_max_in_percentage_deviation] [debug]<commit_msg>Better README<commit_after>
# Released under MIT License 2017

Small perl script that is a wrapper for hping3. Logs downtime, and latency deviations to STDOUT. Ergo no logging when things are okay.

Prerequisites
	sudo apt-get install hping3
	User running logtcp.pl must have sudo with NOPASSWD: ALL in visudo
Usage
	perl logtcp.pl <ip> <port> [rtt_max_in_percentage_deviation] [debug]
{'fraction_non_alphanumeric': 0.05327868852459016, 'fraction_numerical': 0.01639344262295082, 'mean_word_length': 5.108333333333333, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1392124', 'n_tokens_mistral': 258, 'n_tokens_neox': 234, 'n_words': 97}