tool: add some ceph relate processes to ps-ceph.pl

add ceph-mgr,ceph-disk,rbd-mirror,radosgw to ps-ceph.pl,because

 these processes may run long time.so we need to know whether they are

 running in our machine.

Signed-off-by:song baisen song.baisen@zte.com.cn
This commit is contained in:
songbaisen 2016-12-06 09:32:29 +08:00
parent 49eafeb573
commit 0f7a276670

View File

@ -23,6 +23,10 @@ sub is_ceph_proc {
return 1 if $cmdline =~ /\bceph-mds\b/;
return 1 if $cmdline =~ /\bceph-mon\b/;
return 1 if $cmdline =~ /\bceph-osd\b/;
return 1 if $cmdline =~ /\bceph-mgr\b/;
return 1 if $cmdline =~ /\bceph-disk\b/;
return 1 if $cmdline =~ /\brbd-mirror\b/;
return 1 if $cmdline =~ /\bradosgw\b/;
return 1 if $cmdline =~ /\bosdmaptool\b/;
return 1 if $cmdline =~ /\brados\b/;
return 1 if $cmdline =~ /test_/;