<commit_before>#! /bin/bash
# Use : wget -O- https://raw.githubusercontent.com/stylersnico/centos-scripts/master/auto-install-snmpd.sh | sh

if [ "$(id -u)" != "0" ]; then
   echo "This script must be run as root" 1>&2
   exit 1
fi

echo "--> Updating CentOS System"
yum -y update

echo "--> Installing htop"
yum -y install net-snmp

echo "--> Launch snmpd at boot"
chkconfig --level 3 snmpd on

echo "--> Restart services"
/etc/init.d/snmpd stop && /etc/init.d/snmpd start<commit_msg>Add working test<commit_after>#! /bin/bash
# Use : wget -O- https://raw.githubusercontent.com/stylersnico/centos-scripts/master/auto-install-snmpd.sh | sh

if [ "$(id -u)" != "0" ]; then
   echo "This script must be run as root" 1>&2
   exit 1
fi

echo "--> Updating CentOS System"
yum -y update

echo "--> Installing htop"
yum -y install net-snmp

echo "--> Launch snmpd at boot"
chkconfig --level 3 snmpd on

echo "--> Restart services"
/etc/init.d/snmpd stop && /etc/init.d/snmpd start

echo "--> Show the launch at boot"
ls /etc/rc3.d/*snmpd*

echo "--> If you see a blue line, it's working !"

{'fraction_non_alphanumeric': 0.15974145891043398, 'fraction_numerical': 0.010156971375807941, 'mean_word_length': 3.1374045801526718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 2, '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': '2446133', 'n_tokens_mistral': 427, 'n_tokens_neox': 416, 'n_words': 128}