<commit_before>#!/bin/bash

LOG "start_snmpd start."

if [ -z "`pgrep snmpd`" ]
then
	${INIT_SNMPD} start > /dev/null 2>&1
	if [ $? -ne 0 ]
	then
		LOG_WARN "Can not start snmpd."
	else
		LOG "Starting snmpd done."
	fi
else
	LOG "snmpd is running."
fi

if [ -n "`pgrep snmptrapd`" ]
then
	killall ${SNMPTRAPD}
	if [ $? -ne 0 ]
	then
		LOG_WARN "Can not stop snmptrapd."
	else
		LOG "Stopping l7vsd done."
	fi
fi

LOG "start_snmpd end."<commit_msg>Fix typo<commit_after>#!/bin/bash

LOG "start_snmpd start."

if [ -z "`pgrep snmpd`" ]
then
	${INIT_SNMPD} start > /dev/null 2>&1
	if [ $? -ne 0 ]
	then
		LOG_WARN "Can not start snmpd."
	else
		LOG "Starting snmpd done."
	fi
else
	LOG "snmpd is running."
fi

if [ -n "`pgrep snmptrapd`" ]
then
	killall ${SNMPTRAPD}
	if [ $? -ne 0 ]
	then
		LOG_WARN "Can not stop snmptrapd."
	else
		LOG "Stopping snmptrapd done."
	fi
fi

LOG "start_snmpd end."
{'fraction_non_alphanumeric': 0.14109742441209405, 'fraction_numerical': 0.010078387458006719, 'mean_word_length': 3.1009174311926606, 'pattern_counts': {'":': 0, '<': 3, '<?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': '344734', 'n_tokens_mistral': 436, 'n_tokens_neox': 406, 'n_words': 120}