anchor.diff:                                  "                          kernel_poll | ~w\r\n",
                                   "                     thread_pool_size | ~w\r\n",
                                   "--------------------------------------+--------------------------------------\r\n",
  -                                " Status-3: # of msgs\r\n",
  -                                "--------------------------------------+--------------------------------------\r\n",
  -                                "                     replication msgs | ~w\r\n",
  -                                "                      vnode-sync msgs | ~w\r\n",
  -                                "                       rebalance msgs | ~w\r\n",
  +                                " Status-3: Number of messages in MQ\r\n",
  +                                "--------------------------------------+--------------------------------------\r\n",
  +                                "                 replication messages | ~w\r\n",
  +                                "                  vnode-sync messages | ~w\r\n",
  +                                "                   rebalance messages | ~w\r\n",
                                   "--------------------------------------+--------------------------------------\r\n",
                                   "\r\n"]),
                     [
  
positive.code:                    List ++ [Ret]
             end,
      lists:foldl(Fun3, [FormattedSystemConf,
                         Header1,Header2, Header1], Nodes) ++ Header1 ++ ?CRLF.
  
  
  
negative.code: mq_stats([]) ->
      [];
  mq_stats(Stats) ->
      Header = "              id                |    state    | number of msgs | batch of msgs  |    interval    |            description            \r\n"
          ++   "--------------------------------+-------------+----------------|----------------|----------------|-----------------------------------\r\n",
      Output = lists:foldl(
                 fun(#mq_state{id = Id,
                               state = ConsumerStats,
                               desc = Desc}, Acc) ->
                         State       = leo_misc:get_value(?MQ_CNS_PROP_STATUS,        ConsumerStats),
                         NumOfMsgs   = leo_misc:get_value(?MQ_CNS_PROP_NUM_OF_MSGS,   ConsumerStats, 0),
                         BatchOfMsgs = leo_misc:get_value(?MQ_CNS_PROP_BATCH_OF_MSGS, ConsumerStats, 0),
                         Interval    = leo_misc:get_value(?MQ_CNS_PROP_INTERVAL,      ConsumerStats, 0),
                         lists:append([Acc,
                                       string:left(" " ++ atom_to_list(Id),      31), ?SEPARATOR,
                                       string:centre(atom_to_list(State),        11), ?SEPARATOR,
                                       string:left(integer_to_list(NumOfMsgs),   14), ?SEPARATOR,
                                       string:left(integer_to_list(BatchOfMsgs), 14), ?SEPARATOR,
                                       string:left(integer_to_list(Interval),    14), ?SEPARATOR,
                                       string:left(Desc, 34), ?CRLF])
                 end, Header, Stats),
      Output.
  