<commit_before>#!/bin/bash
# Base on article http://support.commgate.net/index.php?/Knowledgebase/Article/View/

# Check if root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 
   exit 1
fi

while getopts r: option
do
        case "${option}"
        in
                r) RESULT=$OPTARG;;
        esac
done

hdparm -Tt /dev/sda >> $RESULT.txt<commit_msg>Hack for Fabrice aka AWS<commit_after>#!/bin/bash
# Base on article http://support.commgate.net/index.php?/Knowledgebase/Article/View/

# Check if root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 
   exit 1
fi

while getopts r: option
do
        case "${option}"
        in
                r) RESULT=$OPTARG;;
        esac
done

hdparm -Tt /xdva/xdva >> $RESULT.txt
{'fraction_non_alphanumeric': 0.12516297262059975, 'fraction_numerical': 0.005215123859191656, 'mean_word_length': 2.383259911894273, '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': '775801', 'n_tokens_mistral': 283, 'n_tokens_neox': 265, 'n_words': 83}