Sha256: 98182796cfca013e55e52058ef77652a2dc5a6f2c25f42442e6663b46e8eb4d0

Contents?: true

Size: 310 Bytes

Versions: 37

Compression:

Stored size: 310 Bytes

Contents

#!/usr/bin/env escript
%%! -name riakstatuscheck@127.0.0.1 -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

37 entries across 37 versions & 4 rubygems

Version Path
riemann-tools-1.11.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.10.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.9.1 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.9.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.8.2 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.8.1 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.8.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.7.1 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.7.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.6.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.5.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.4.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.3.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-tools-1.2.0 tools/riemann-riak/bin/riemann-riak-keys
riemann-riak-0.1.2 bin/riemann-riak-keys
riemann-riak-0.1.1 bin/riemann-riak-keys
riemann-riak-0.1.0 bin/riemann-riak-keys
riemann-tools-0.2.7 bin/riemann-riak-keys
riemann-tools-0.2.6 bin/riemann-riak-keys
riemann-tools-0.2.5 bin/riemann-riak-keys