switch ($tmpbuf[4]) {
                    case 'B':
                        $result[$i]['MemoryLimit'] = $tmpbuf[3];
                        break;
                    case 'KiB':