<commit_before># Riaknostic

Riaknostic performs basic diagnostics on Riak nodes.

## Building

To build Riaknostic execute the following command

    ./rebar get-deps compile escriptize

This will compile and package Riaknostic into a Erlang shell script.

## Usage

    riaknostic [-h] [-l] [-dir <riak directory>] [-bitcask_threshold <int> [-bitcask_threshold_type <type>]] [<module,...>]

    -h                        Show the program options
    -l                        List available riaknostic modules
    -dir                      Specify the location of riak
    -bitcask_threshold        The size in bytes to be considered a large value
    -bitcask_threshold_type   Check blob_size, sibling_count, or vclock_length
    module                    A diagnostic. By default, all riaknostics are run

## TODO

- Control over output verbosity
- More riaknostics
- Siblings check<commit_msg>Inserted tabs in readme - usage<commit_after># Riaknostic

Riaknostic performs basic diagnostics on Riak nodes.

## Building

To build Riaknostic execute the following command

    ./rebar get-deps compile escriptize

This will compile and package Riaknostic into a Erlang shell script.

## Usage

    riaknostic [-h] [-l] [-dir <riak directory>] [-bitcask_threshold <int> [-bitcask_threshold_type <type>]] [<module,...>]

        -h                        Show the program options
        -l                        List available riaknostic modules
        -dir                      Specify the location of riak
        -bitcask_threshold        The size in bytes to be considered a large value
        -bitcask_threshold_type   Check blob_size, sibling_count, or vclock_length
        module                    A diagnostic. By default, all riaknostics are run

## TODO

- Control over output verbosity
- More riaknostics
- Siblings check
{'fraction_non_alphanumeric': 0.06147986942328618, 'fraction_numerical': 0.0, 'mean_word_length': 2.349726775956284, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '3969032', 'n_tokens_mistral': 529, 'n_tokens_neox': 491, 'n_words': 193}