<commit_before>#!/bin/bash
# Riak multi node setup script for single host.

ROOT=$(cd `dirname $0`; pwd)

usage() {
  cat<<EOS

Riak multi node setup script for single host.
=============================================

usage
-----
  $0 create node_count riak_home
  $0 start_all
  $0 stop_all
  $0 join_all
  $0 clean
  $0 list
  $0 [start|stop|restart|reboot|ping|console|attach|chkconfig|escript|version] node_id

example)
  $0 create 3 /usr/local/riak : create configurations for 3 nodes.
  $0 start_all                : start all nodes.
  $0 join_all                 : make cluster.
  $0 stop 2                   : stop second node.
  $0 start 2                  : start second node.<commit_msg>added ping_all<commit_after>#!/bin/bash
# Riak multi node setup script for single host.

ROOT=$(cd `dirname $0`; pwd)

usage() {
  cat<<EOS

Riak multi node setup script for single host.
=============================================

usage
-----
  $0 create node_count riak_home
  $0 start_all
  $0 stop_all
  $0 join_all
  $0 ping_all
  $0 clean
  $0 list
  $0 [start|stop|restart|reboot|ping|console|attach|chkconfig|escript|version] node_id

example)
  $0 create 3 /usr/local/riak : create configurations for 3 nodes.
  $0 start_all                : start all nodes.
  $0 join_all                 : make cluster.
  $0 stop 2                   : stop second node.
  $0 start 2                  : start second node.
{'fraction_non_alphanumeric': 0.1559633027522936, 'fraction_numerical': 0.024700070571630206, 'mean_word_length': 2.598984771573604, 'pattern_counts': {'":': 0, '<': 7, '<?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': '1247553', 'n_tokens_mistral': 474, 'n_tokens_neox': 449, 'n_words': 146}