Skip to content
hollow
← CLI reference

Command

hollow stats

Takes one snapshot over the control socket and prints it. Every control socket command reads and none change behaviour, which is what makes an unauthenticated loopback port defensible.

Usage

hollow stats [flags]

Flags

  • --json

    print the snapshot as JSON

  • --target <string>

    default "127.0.0.1:15354"

    control socket of the server to ask

  • --timeout <duration>

    default 5s

    deadline for the whole exchange

Real output

Captured from the binary, verbatim. Timings and addresses are whatever that particular run returned.

hollow stats
$ hollow statsup 4m51s, 10 queries, 0 blocked, 0 upstream failurescache: 6 hits, 4 misses, 60.0% hit rate, 4 entries, 0 served stalelatency: p50 0.00ms, p99 328mstop names:       6  example.com.       2  cloudflare.com.       1  wikipedia.org.       1  www.github.com.top clients:      10  127.0.0.1