Skip to content

Instantly share code, notes, and snippets.

View harleyholt's full-sized avatar

Harley Holt harleyholt

  • Seattle
  • 05:20 (UTC -07:00)
View GitHub Profile
@aphyr
aphyr / gist:20f3c41ef44f97ca2090
Created February 17, 2015 22:48
MongoDB "printjson" printing I don't know what
root@n1:~# mongo --quiet --eval 'printjson(rs.status())'
{
"set" : "jepsen",
"date" : ISODate("2015-02-17T22:48:35Z"),
"myState" : 1,
"members" : [
{
"_id" : 0,
"name" : "n1:27017",
"health" : 1,