'svcinfo lsmdiskgrp -gui -bytes -delim ! <pool>'

def _cmd_lsmdiskgrp(self, **kwargs):

    status = 'online'
    if (self._next_cmd_error['lsmdiskgrp'] == 'error'):
        self._next_cmd_error['lsmdiskgrp'] = ''
        return self._errors['CMMVC50000']
    if (self._next_cmd_error['lsmdiskgrp'] == 'status=offline'):
        self._next_cmd_error['lsmdiskgrp'] = ''
        status = 'offline'
    rows = ([None] * 2)
    rows[0] = ['id', 'status', 'mdisk_count', 'vdisk_count', 'capacity', 'free_capacity', 'virtual_capacity', 'used_capacity', 'real_capacity', 'encrypted', 'type', 'encrypt']
    rows[1] = ['0', status, '1', '0', '3573412790272', '3529432325160', '1693247906775', '277841182', '38203734097', 'no', 'parent', 'no']
    if (kwargs['obj'] == 'mdiskgrp0'):
        row = rows[1]
    else:
        return self._errors['CMMVC50000']
    objrows = []
    for (idx, val) in enumerate(rows[0]):
        objrows.append([val, row[idx]])
    if ('delim' in kwargs):
        for index in range(len(objrows)):
            objrows[index] = kwargs['delim'].join(objrows[index])
    return (('%s' % '\n'.join(objrows)), '')
