re-mote.zero.stats

General machine stats

avg-all

(avg-all k success)

Average for all hosts

comma

(comma line)

into-dec

(into-dec v)(into-dec nav [this readings])

last-n

(last-n n m)

keep last n items of a sorted map

multi-nav

(multi-nav & ks)

purge

(purge n)

readings

refer-stats

(refer-stats)

reset

(reset k)

reset a key in readings

safe-dec

(safe-dec v)

select-

(select- k)

select a single key from readings

setup-stats

(setup-stats s n)

Setup stats collection

single-nav

single-per-host

(single-per-host k ks success)

Collect a single nested reading for each host

space

(space line)

Stats

protocol

members

collect

(collect this m)

cpu

(cpu this)(cpu this m)

du

(du this)(du this m)

free

(free this)(free this m)

load-avg

(load-avg this)(load-avg this m)

net

(net this)(net this m)

sliding

(sliding this m f k)

timeout

zip

(zip this {:keys [success failure], :as res} parent k & ks)

Collecting output into a hash, must be defined outside protocoal because of var args

zipped

(zipped parent k ks by {:keys [result], :as m})