$ ceph -s
health HEALTH_OK
monmap e1: 3 mons at {0=10.19.0.173:6789/0,1=10.19.0.176:6789/0,2=10.19.0.178:6789/0}, election epoch 14, quorum 0,1,2 0,1,2
osdmap e70: 3 osds: 3 up, 3 in
pgmap v8616: 592 pgs: 592 active+clean; 53934 MB data, 105 GB used, 451 GB / 556 GB avail
mdsmap e1: 0/0/1 up
Short version:
12
$ ceph health
HEALTH_OK
Watch mode:
123
$ ceph -w
...
...
Way more:
123456789
$ ceph health detail
HEALTH_WARN 217 pgs peering; 221 pgs stuck inactive; 221 pgs stuck unclean
pg 1.d is stuck peering, last acting [4,2]pg 0.c is stuck peering, last acting [1,0]pg 1.a is stuck peering, last acting [4,2]pg 0.b is stuck peering, last acting [4,2]pg 1.b is stuck peering, last acting [1,0]...
...
Global view of your cluster:
1234567891011
$ ceph osd tree
dumped osdmap tree epoch 115
# id weight type name up/down reweight-1 3 pool default
-3 3 rack unknownrack
-2 1 host ceph01
0 1 osd.0 up 1
-4 1 host ceph02
1 1 osd.1 up 1
-5 1 host ceph03
2 1 osd.2 up 1