Skip to content

Instantly share code, notes, and snippets.

@dustin
Created May 20, 2013 00:09
Show Gist options
  • Select an option

  • Save dustin/5609658 to your computer and use it in GitHub Desktop.

Select an option

Save dustin/5609658 to your computer and use it in GitHub Desktop.
cbfsclient info
nodes:
bruce up 98h27m43.642659968s (age: 3.639871788s)
bsd2 up 99h2m1.141693362s (age: 1.128633809s)
dbsd up 99h1m35.182252858s (age: 169.206832ms)
dogbowl up 98h59m50.224614808s (age: 222.789735ms)
mini64 up 99h0m16.659057991s (age: 1.655205815s)
tasks:
bruce
reconcile - running - 2013-05-20 00:08:29.939011817 +0000 UTC
mini64
reconcile - running - 2013-05-20 00:08:35.736379233 +0000 UTC
backups:
Found 16 backups.
Current: cbfsbak/20130519.gz (69b6748f6ce7408fcc5feb49a38b5ce2d7e10d8e)
as of 2013-05-19 10:03:03.659401819 +0000 UTC
config:
cleanCount: 5000
defaultVersionCount: 0
gcEnabled: true
gcfreq: 8h0m0s
gclimit: 5000
hash: sha1
hbfreq: 5s
localValidationFreq: 31h0m0s
maxrepl: 5
minrepl: 3
nodeCheckFreq: 1m0s
overReplicaCheckFreq: 10m0s
quickReconcileFreq: 24h0m0s
reconcileFreq: 168h0m0s
replicaCheckLimit: 10000
staleLimit: 15m0s
trimFullCount: 10000
trimFullFreq: 1h0m0s
trimFullSize: 5368709120
underReplicaCheckFreq: 5m0s
updateSizesFreq: 5s
nodes:
{{ range $name, $nodeinfo := .Nodes }} {{$name}} up {{$nodeinfo.UptimeStr}} (age: {{$nodeinfo.HBAgeStr}})
{{ end }}
{{if .Tasks}}tasks:{{end}}{{ range $node, $tasks := .Tasks }}
{{$node}}
{{ range $task, $info := $tasks }} {{$task}} - {{$info.State}} - {{$info.TS}}
{{end}}{{end}}
backups:
Found {{len .Backups.Previous }} backups.
Current: {{.Backups.Latest.Filename}} ({{.Backups.Latest.OID}})
as of {{.Backups.Latest.When}}
config:
{{ range $k, $v := .Conf.ToMap}} {{$k}}: {{$v}}
{{end}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment