Sha256: ba2f07a99684461cc39f42b972a9e13315652b9ab4f1785871820e689d872909

Contents?: true

Size: 326 Bytes

Versions: 8

Compression:

Stored size: 326 Bytes

Contents

#!/usr/bin/env escript
%%! -name riakstatuscheck@127.0.0.1 -setcookie riak -hidden

main([]) -> main(["riak@127.0.0.1"]);
main([Node]) ->
  io:format("~w\n", [
    lists:foldl(
      fun({_VNode, Count}, Sum) -> Sum + Count end,
      0,
      rpc:call(list_to_atom(Node), riak_kv_bitcask_backend, key_counts, [])
    )
  ]).

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
riemann-tools-0.1.1 bin/riemann-riak-keys
riemann-tools-0.1.0 bin/riemann-riak-keys
riemann-tools-0.0.9 bin/riemann-riak-keys
riemann-tools-0.0.8 bin/riemann-riak-keys
riemann-tools-0.0.7 bin/riemann-riak-keys
riemann-tools-0.0.6 bin/riemann-riak-keys
riemann-tools-0.0.5 bin/riemann-riak-keys
riemann-tools-0.0.4 bin/riemann-riak-keys