HomeClusterLabs Projects

Feature: crm_mon: Display brief output if "-b/--brief" is supplied or 'b' is…

Description

Feature: crm_mon: Display brief output if "-b/--brief" is supplied or 'b' is toggled

It's very helpful if there are many same types of resources.

If -b/--brief is supplied, the output is like:

6 (ocf::pacemaker:Dummy): Active node1

If -r/--inactive is also supplied:

6/10 (ocf::pacemaker:Dummy): Active node1
0/5 (ocf::heartbeat:Dummy): Active

Output for a group is like:
Resource Group: group1

18/20  (ocf::pacemaker:Dummy): Active node1
12/15  (ocf::heartbeat:Dummy): Active node1

If -n/--group-by-node is also supplied, the output of the node is like:

Node node1: online

24      (ocf::pacemaker:Dummy): Active
12      (ocf::heartbeat:Dummy): Active

Details

Provenance
gao-yanAuthored on Jan 1 2014, 4:17 AM
Parents
rPa3cda7619e71: Merge pull request #417 from krig/grep-text
Branches
Unknown
Tags
Unknown

Event Timeline