<commit_before>#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#

#
# Load in the appropriate environment variables
#
. `dirname $0`/../monitor/instrument-env.sh

#
# Blank a couple out so that we don't try to talk to netmond
#
export -n LIBNETMON_SOCKPATH
export -n LIBNETMON_CONTROL_SOCKPATH

#
# Make sure we can get coredumps
#
ulimit -c unlimited

#
# Get a new version of the output
#
export LIBNETMON_OUTPUTVERSION=2

echo "Instrumenting '$@' with libnetmon"
exec $@<commit_msg>Use output version 3, and monitor UDP traffic<commit_after>#!/bin/sh
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006 University of Utah and the Flux Group.
# All rights reserved.
#

#
# Load in the appropriate environment variables
#
. `dirname $0`/../monitor/instrument-env.sh

#
# Blank a couple out so that we don't try to talk to netmond
#
export -n LIBNETMON_SOCKPATH
export -n LIBNETMON_CONTROL_SOCKPATH

#
# Make sure we can get coredumps
#
ulimit -c unlimited

#
# Get a new version of the output
#
export LIBNETMON_OUTPUTVERSION=3
export LIBNETMON_MONITORUDP=1

echo "Instrumenting '$@' with libnetmon"
exec $@
{'fraction_non_alphanumeric': 0.09278350515463918, 'fraction_numerical': 0.012027491408934709, 'mean_word_length': 4.295454545454546, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3940682', 'n_tokens_mistral': 423, 'n_tokens_neox': 389, 'n_words': 139}