|
|
使用for循环扫描:
7 L. U0 h4 F; Z, [for i in `ceph pg ls-by-pool vms |tail -n +2|awk '{print $1}'`;do echo -n "$i: ";ceph pg $i query |grep num_large_omap_objects | head -1 | awk '{print $2}';done
+ f7 |$ a# L$ b. b4 `" E- ~: ~* }4 T6 Z0 u
& |( ^( {1 b) k8 h& H |# `4 K$ f for i in `ceph pg ls-by-pool vms |tail -n +2|awk '{print $1}'`;do echo -n "$i: ";ceph pg $i query |grep num_large_omap_objects | head -1 | awk '{print $2}';done | grep ": 1"- B: V) I/ H$ M: D0 n; q
no valid command found; 10 closest matches:
( V7 U$ ^" j2 O* Y2 Q! u0 O" f1 |pg scrub <pgid>
: u4 T* T; A) H3 Ipg deep-scrub <pgid>7 O8 X3 c% D) Y _* N4 _9 j
pg force-recovery <pgid> [<pgid>...]
5 w, o4 u c3 E: Y- Xpg cancel-force-recovery <pgid> [<pgid>...]
5 c" U" i+ f, S% Y8 l( S9 Spg debug unfound_objects_exist|degraded_pgs_exist3 Q( @- J& s; r d
pg ls {<int>} {<states> [<states>...]}
; M1 R0 @1 B+ a, b N, hpg dump_stuck {inactive|unclean|stale|undersized|degraded [inactive|unclean|stale|undersized|degraded...]} {<int>}
& z p" f; l y) R* Jpg ls-by-primary <osdname (id|osd.id)> {<int>} {<states> [<states>...]}7 h# n3 l* a& j4 W& z7 X
pg ls-by-osd <osdname (id|osd.id)> {<int>} {<states> [<states>...]}
: \0 ^3 s3 S9 s5 r/ Z8 w; }pg dump_pools_json% S( @9 F% j1 V! h k: b
Error EINVAL: invalid command5 e# b8 V* v; c9 O% G0 T
[root@controller ~]#
; S9 p) @6 u1 J" @! P. @ |
|