#!/usr/bin/python
# coding=utf-8
################################################################################

from test import CollectorTestCase
from test import get_collector_config
from test import unittest
from mock import Mock
from mock import patch

try:
    from cStringIO import StringIO
except ImportError:
    from StringIO import StringIO

from diamond.collector import Collector
from slabinfo import SlabInfoCollector

################################################################################


class TestSlabInfoCollector(CollectorTestCase):
    def setUp(self):
        config = get_collector_config('SlabInfoCollector', {
            'interval': 1
        })

        self.collector = SlabInfoCollector(config, None)

    @patch('__builtin__.open')
    @patch('os.access', Mock(return_value=True))
    @patch.object(Collector, 'publish')
    def test_should_open_proc_stat(self, publish_mock, open_mock):
        open_mock.return_value = StringIO('')
        self.collector.collect()
        open_mock.assert_called_once_with('/proc/slabinfo', 'r')

    @patch.object(Collector, 'publish')
    def test_should_work_with_real_data(self, publish_mock):
        SlabInfoCollector.PROC = self.getFixturePath('slabinfo')
        self.collector.collect()

        metrics = {
            'rpc_buffers.active_objs': 8,
            'rpc_buffers.num_objs': 8,
            'rpc_buffers.objsize': 2048,
            'rpc_buffers.objperslab': 2,
            'rpc_buffers.pagesperslab': 1,
            'rpc_buffers.tunables.limit': 24,
            'rpc_buffers.tunables.batchcount': 12,
            'rpc_buffers.tunables.sharedfactor': 8,
            'rpc_buffers.slabdata.active_slabs': 4,
            'rpc_buffers.slabdata.num_slabs': 4,
            'rpc_buffers.slabdata.sharedavail': 0,
            'rpc_tasks.active_objs': 8,
            'rpc_tasks.num_objs': 10,
            'rpc_tasks.objsize': 384,
            'rpc_tasks.objperslab': 10,
            'rpc_tasks.pagesperslab': 1,
            'rpc_tasks.tunables.limit': 54,
            'rpc_tasks.tunables.batchcount': 27,
            'rpc_tasks.tunables.sharedfactor': 8,
            'rpc_tasks.slabdata.active_slabs': 1,
            'rpc_tasks.slabdata.num_slabs': 1,
            'rpc_tasks.slabdata.sharedavail': 0,
            'rpc_inode_cache.active_objs': 6,
            'rpc_inode_cache.num_objs': 10,
            'rpc_inode_cache.objsize': 768,
            'rpc_inode_cache.objperslab': 5,
            'rpc_inode_cache.pagesperslab': 1,
            'rpc_inode_cache.tunables.limit': 54,
            'rpc_inode_cache.tunables.batchcount': 27,
            'rpc_inode_cache.tunables.sharedfactor': 8,
            'rpc_inode_cache.slabdata.active_slabs': 2,
            'rpc_inode_cache.slabdata.num_slabs': 2,
            'rpc_inode_cache.slabdata.sharedavail': 0,
            'ip_fib_alias.active_objs': 10,
            'ip_fib_alias.num_objs': 118,
            'ip_fib_alias.objsize': 64,
            'ip_fib_alias.objperslab': 59,
            'ip_fib_alias.pagesperslab': 1,
            'ip_fib_alias.tunables.limit': 120,
            'ip_fib_alias.tunables.batchcount': 60,
            'ip_fib_alias.tunables.sharedfactor': 8,
            'ip_fib_alias.slabdata.active_slabs': 2,
            'ip_fib_alias.slabdata.num_slabs': 2,
            'ip_fib_alias.slabdata.sharedavail': 0,
            'ip_fib_hash.active_objs': 10,
            'ip_fib_hash.num_objs': 118,
            'ip_fib_hash.objsize': 64,
            'ip_fib_hash.objperslab': 59,
            'ip_fib_hash.pagesperslab': 1,
            'ip_fib_hash.tunables.limit': 120,
            'ip_fib_hash.tunables.batchcount': 60,
            'ip_fib_hash.tunables.sharedfactor': 8,
            'ip_fib_hash.slabdata.active_slabs': 2,
            'ip_fib_hash.slabdata.num_slabs': 2,
            'ip_fib_hash.slabdata.sharedavail': 0,
            'fib6_nodes.active_objs': 22,
            'fib6_nodes.num_objs': 118,
            'fib6_nodes.objsize': 64,
            'fib6_nodes.objperslab': 59,
            'fib6_nodes.pagesperslab': 1,
            'fib6_nodes.tunables.limit': 120,
            'fib6_nodes.tunables.batchcount': 60,
            'fib6_nodes.tunables.sharedfactor': 8,
            'fib6_nodes.slabdata.active_slabs': 2,
            'fib6_nodes.slabdata.num_slabs': 2,
            'fib6_nodes.slabdata.sharedavail': 0,
            'ip6_dst_cache.active_objs': 13,
            'ip6_dst_cache.num_objs': 72,
            'ip6_dst_cache.objsize': 320,
            'ip6_dst_cache.objperslab': 12,
            'ip6_dst_cache.pagesperslab': 1,
            'ip6_dst_cache.tunables.limit': 54,
            'ip6_dst_cache.tunables.batchcount': 27,
            'ip6_dst_cache.tunables.sharedfactor': 8,
            'ip6_dst_cache.slabdata.active_slabs': 6,
            'ip6_dst_cache.slabdata.num_slabs': 6,
            'ip6_dst_cache.slabdata.sharedavail': 0,
            'ndisc_cache.active_objs': 2,
            'ndisc_cache.num_objs': 15,
            'ndisc_cache.objsize': 256,
            'ndisc_cache.objperslab': 15,
            'ndisc_cache.pagesperslab': 1,
            'ndisc_cache.tunables.limit': 120,
            'ndisc_cache.tunables.batchcount': 60,
            'ndisc_cache.tunables.sharedfactor': 8,
            'ndisc_cache.slabdata.active_slabs': 1,
            'ndisc_cache.slabdata.num_slabs': 1,
            'ndisc_cache.slabdata.sharedavail': 0,
            'RAWv6.active_objs': 27,
            'RAWv6.num_objs': 28,
            'RAWv6.objsize': 960,
            'RAWv6.objperslab': 4,
            'RAWv6.pagesperslab': 1,
            'RAWv6.tunables.limit': 54,
            'RAWv6.tunables.batchcount': 27,
            'RAWv6.tunables.sharedfactor': 8,
            'RAWv6.slabdata.active_slabs': 7,
            'RAWv6.slabdata.num_slabs': 7,
            'RAWv6.slabdata.sharedavail': 0,
            'UDPv6.active_objs': 4,
            'UDPv6.num_objs': 4,
            'UDPv6.objsize': 896,
            'UDPv6.objperslab': 4,
            'UDPv6.pagesperslab': 1,
            'UDPv6.tunables.limit': 54,
            'UDPv6.tunables.batchcount': 27,
            'UDPv6.tunables.sharedfactor': 8,
            'UDPv6.slabdata.active_slabs': 1,
            'UDPv6.slabdata.num_slabs': 1,
            'UDPv6.slabdata.sharedavail': 0,
            'tw_sock_TCPv6.active_objs': 0,
            'tw_sock_TCPv6.num_objs': 0,
            'tw_sock_TCPv6.objsize': 192,
            'tw_sock_TCPv6.objperslab': 20,
            'tw_sock_TCPv6.pagesperslab': 1,
            'tw_sock_TCPv6.tunables.limit': 120,
            'tw_sock_TCPv6.tunables.batchcount': 60,
            'tw_sock_TCPv6.tunables.sharedfactor': 8,
            'tw_sock_TCPv6.slabdata.active_slabs': 0,
            'tw_sock_TCPv6.slabdata.num_slabs': 0,
            'tw_sock_TCPv6.slabdata.sharedavail': 0,
            'request_sock_TCPv6.active_objs': 0,
            'request_sock_TCPv6.num_objs': 0,
            'request_sock_TCPv6.objsize': 192,
            'request_sock_TCPv6.objperslab': 20,
            'request_sock_TCPv6.pagesperslab': 1,
            'request_sock_TCPv6.tunables.limit': 120,
            'request_sock_TCPv6.tunables.batchcount': 60,
            'request_sock_TCPv6.tunables.sharedfactor': 8,
            'request_sock_TCPv6.slabdata.active_slabs': 0,
            'request_sock_TCPv6.slabdata.num_slabs': 0,
            'request_sock_TCPv6.slabdata.sharedavail': 0,
            'TCPv6.active_objs': 40,
            'TCPv6.num_objs': 40,
            'TCPv6.objsize': 1728,
            'TCPv6.objperslab': 4,
            'TCPv6.pagesperslab': 2,
            'TCPv6.tunables.limit': 24,
            'TCPv6.tunables.batchcount': 12,
            'TCPv6.tunables.sharedfactor': 8,
            'TCPv6.slabdata.active_slabs': 10,
            'TCPv6.slabdata.num_slabs': 10,
            'TCPv6.slabdata.sharedavail': 0,
            'ext4_inode_cache.active_objs': 3816,
            'ext4_inode_cache.num_objs': 4148,
            'ext4_inode_cache.objsize': 944,
            'ext4_inode_cache.objperslab': 4,
            'ext4_inode_cache.pagesperslab': 1,
            'ext4_inode_cache.tunables.limit': 54,
            'ext4_inode_cache.tunables.batchcount': 27,
            'ext4_inode_cache.tunables.sharedfactor': 8,
            'ext4_inode_cache.slabdata.active_slabs': 1037,
            'ext4_inode_cache.slabdata.num_slabs': 1037,
            'ext4_inode_cache.slabdata.sharedavail': 0,
            'ext4_xattr.active_objs': 0,
            'ext4_xattr.num_objs': 0,
            'ext4_xattr.objsize': 88,
            'ext4_xattr.objperslab': 44,
            'ext4_xattr.pagesperslab': 1,
            'ext4_xattr.tunables.limit': 120,
            'ext4_xattr.tunables.batchcount': 60,
            'ext4_xattr.tunables.sharedfactor': 8,
            'ext4_xattr.slabdata.active_slabs': 0,
            'ext4_xattr.slabdata.num_slabs': 0,
            'ext4_xattr.slabdata.sharedavail': 0,
            'ext4_free_block_extents.active_objs': 0,
            'ext4_free_block_extents.num_objs': 0,
            'ext4_free_block_extents.objsize': 56,
            'ext4_free_block_extents.objperslab': 67,
            'ext4_free_block_extents.pagesperslab': 1,
            'ext4_free_block_extents.tunables.limit': 120,
            'ext4_free_block_extents.tunables.batchcount': 60,
            'ext4_free_block_extents.tunables.sharedfactor': 8,
            'ext4_free_block_extents.slabdata.active_slabs': 0,
            'ext4_free_block_extents.slabdata.num_slabs': 0,
            'ext4_free_block_extents.slabdata.sharedavail': 0,
            'ext4_alloc_context.active_objs': 2,
            'ext4_alloc_context.num_objs': 27,
            'ext4_alloc_context.objsize': 144,
            'ext4_alloc_context.objperslab': 27,
            'ext4_alloc_context.pagesperslab': 1,
            'ext4_alloc_context.tunables.limit': 120,
            'ext4_alloc_context.tunables.batchcount': 60,
            'ext4_alloc_context.tunables.sharedfactor': 8,
            'ext4_alloc_context.slabdata.active_slabs': 1,
            'ext4_alloc_context.slabdata.num_slabs': 1,
            'ext4_alloc_context.slabdata.sharedavail': 0,
            'ext4_prealloc_space.active_objs': 73,
            'ext4_prealloc_space.num_objs': 518,
            'ext4_prealloc_space.objsize': 104,
            'ext4_prealloc_space.objperslab': 37,
            'ext4_prealloc_space.pagesperslab': 1,
            'ext4_prealloc_space.tunables.limit': 120,
            'ext4_prealloc_space.tunables.batchcount': 60,
            'ext4_prealloc_space.tunables.sharedfactor': 8,
            'ext4_prealloc_space.slabdata.active_slabs': 14,
            'ext4_prealloc_space.slabdata.num_slabs': 14,
            'ext4_prealloc_space.slabdata.sharedavail': 0,
            'ext4_system_zone.active_objs': 0,
            'ext4_system_zone.num_objs': 0,
            'ext4_system_zone.objsize': 40,
            'ext4_system_zone.objperslab': 92,
            'ext4_system_zone.pagesperslab': 1,
            'ext4_system_zone.tunables.limit': 120,
            'ext4_system_zone.tunables.batchcount': 60,
            'ext4_system_zone.tunables.sharedfactor': 8,
            'ext4_system_zone.slabdata.active_slabs': 0,
            'ext4_system_zone.slabdata.num_slabs': 0,
            'ext4_system_zone.slabdata.sharedavail': 0,
            'jbd2_journal_handle.active_objs': 64,
            'jbd2_journal_handle.num_objs': 144,
            'jbd2_journal_handle.objsize': 24,
            'jbd2_journal_handle.objperslab': 144,
            'jbd2_journal_handle.pagesperslab': 1,
            'jbd2_journal_handle.tunables.limit': 120,
            'jbd2_journal_handle.tunables.batchcount': 60,
            'jbd2_journal_handle.tunables.sharedfactor': 8,
            'jbd2_journal_handle.slabdata.active_slabs': 1,
            'jbd2_journal_handle.slabdata.num_slabs': 1,
            'jbd2_journal_handle.slabdata.sharedavail': 0,
            'jbd2_journal_head.active_objs': 495,
            'jbd2_journal_head.num_objs': 600,
            'jbd2_journal_head.objsize': 96,
            'jbd2_journal_head.objperslab': 40,
            'jbd2_journal_head.pagesperslab': 1,
            'jbd2_journal_head.tunables.limit': 120,
            'jbd2_journal_head.tunables.batchcount': 60,
            'jbd2_journal_head.tunables.sharedfactor': 8,
            'jbd2_journal_head.slabdata.active_slabs': 15,
            'jbd2_journal_head.slabdata.num_slabs': 15,
            'jbd2_journal_head.slabdata.sharedavail': 468,
            'jbd2_revoke_table.active_objs': 2,
            'jbd2_revoke_table.num_objs': 202,
            'jbd2_revoke_table.objsize': 16,
            'jbd2_revoke_table.objperslab': 202,
            'jbd2_revoke_table.pagesperslab': 1,
            'jbd2_revoke_table.tunables.limit': 120,
            'jbd2_revoke_table.tunables.batchcount': 60,
            'jbd2_revoke_table.tunables.sharedfactor': 8,
            'jbd2_revoke_table.slabdata.active_slabs': 1,
            'jbd2_revoke_table.slabdata.num_slabs': 1,
            'jbd2_revoke_table.slabdata.sharedavail': 0,
            'jbd2_revoke_record.active_objs': 0,
            'jbd2_revoke_record.num_objs': 0,
            'jbd2_revoke_record.objsize': 32,
            'jbd2_revoke_record.objperslab': 112,
            'jbd2_revoke_record.pagesperslab': 1,
            'jbd2_revoke_record.tunables.limit': 120,
            'jbd2_revoke_record.tunables.batchcount': 60,
            'jbd2_revoke_record.tunables.sharedfactor': 8,
            'jbd2_revoke_record.slabdata.active_slabs': 0,
            'jbd2_revoke_record.slabdata.num_slabs': 0,
            'jbd2_revoke_record.slabdata.sharedavail': 0,
            'bio_map_info.active_objs': 100,
            'bio_map_info.num_objs': 105,
            'bio_map_info.objsize': 1064,
            'bio_map_info.objperslab': 7,
            'bio_map_info.pagesperslab': 2,
            'bio_map_info.tunables.limit': 24,
            'bio_map_info.tunables.batchcount': 12,
            'bio_map_info.tunables.sharedfactor': 8,
            'bio_map_info.slabdata.active_slabs': 15,
            'bio_map_info.slabdata.num_slabs': 15,
            'bio_map_info.slabdata.sharedavail': 0,
            'dm_mpath.active_objs': 0,
            'dm_mpath.num_objs': 0,
            'dm_mpath.objsize': 1064,
            'dm_mpath.objperslab': 7,
            'dm_mpath.pagesperslab': 2,
            'dm_mpath.tunables.limit': 24,
            'dm_mpath.tunables.batchcount': 12,
            'dm_mpath.tunables.sharedfactor': 8,
            'dm_mpath.slabdata.active_slabs': 0,
            'dm_mpath.slabdata.num_slabs': 0,
            'dm_mpath.slabdata.sharedavail': 0,
            'jbd_4k.active_objs': 0,
            'jbd_4k.num_objs': 1,
            'jbd_4k.objsize': 4096,
            'jbd_4k.objperslab': 1,
            'jbd_4k.pagesperslab': 1,
            'jbd_4k.tunables.limit': 24,
            'jbd_4k.tunables.batchcount': 12,
            'jbd_4k.tunables.sharedfactor': 8,
            'jbd_4k.slabdata.active_slabs': 0,
            'jbd_4k.slabdata.num_slabs': 1,
            'jbd_4k.slabdata.sharedavail': 0,
            'dm_uevent.active_objs': 0,
            'dm_uevent.num_objs': 0,
            'dm_uevent.objsize': 2608,
            'dm_uevent.objperslab': 3,
            'dm_uevent.pagesperslab': 2,
            'dm_uevent.tunables.limit': 24,
            'dm_uevent.tunables.batchcount': 12,
            'dm_uevent.tunables.sharedfactor': 8,
            'dm_uevent.slabdata.active_slabs': 0,
            'dm_uevent.slabdata.num_slabs': 0,
            'dm_uevent.slabdata.sharedavail': 0,
            'dm_tio.active_objs': 0,
            'dm_tio.num_objs': 0,
            'dm_tio.objsize': 24,
            'dm_tio.objperslab': 144,
            'dm_tio.pagesperslab': 1,
            'dm_tio.tunables.limit': 120,
            'dm_tio.tunables.batchcount': 60,
            'dm_tio.tunables.sharedfactor': 8,
            'dm_tio.slabdata.active_slabs': 0,
            'dm_tio.slabdata.num_slabs': 0,
            'dm_tio.slabdata.sharedavail': 0,
            'dm_io.active_objs': 0,
            'dm_io.num_objs': 0,
            'dm_io.objsize': 40,
            'dm_io.objperslab': 92,
            'dm_io.pagesperslab': 1,
            'dm_io.tunables.limit': 120,
            'dm_io.tunables.batchcount': 60,
            'dm_io.tunables.sharedfactor': 8,
            'dm_io.slabdata.active_slabs': 0,
            'dm_io.slabdata.num_slabs': 0,
            'dm_io.slabdata.sharedavail': 0,
            'scsi_cmd_cache.active_objs': 275,
            'scsi_cmd_cache.num_objs': 290,
            'scsi_cmd_cache.objsize': 384,
            'scsi_cmd_cache.objperslab': 10,
            'scsi_cmd_cache.pagesperslab': 1,
            'scsi_cmd_cache.tunables.limit': 54,
            'scsi_cmd_cache.tunables.batchcount': 27,
            'scsi_cmd_cache.tunables.sharedfactor': 8,
            'scsi_cmd_cache.slabdata.active_slabs': 29,
            'scsi_cmd_cache.slabdata.num_slabs': 29,
            'scsi_cmd_cache.slabdata.sharedavail': 209,
            'sgpool-128.active_objs': 32,
            'sgpool-128.num_objs': 32,
            'sgpool-128.objsize': 4096,
            'sgpool-128.objperslab': 1,
            'sgpool-128.pagesperslab': 1,
            'sgpool-128.tunables.limit': 24,
            'sgpool-128.tunables.batchcount': 12,
            'sgpool-128.tunables.sharedfactor': 8,
            'sgpool-128.slabdata.active_slabs': 32,
            'sgpool-128.slabdata.num_slabs': 32,
            'sgpool-128.slabdata.sharedavail': 0,
            'sgpool-64.active_objs': 32,
            'sgpool-64.num_objs': 32,
            'sgpool-64.objsize': 2048,
            'sgpool-64.objperslab': 2,
            'sgpool-64.pagesperslab': 1,
            'sgpool-64.tunables.limit': 24,
            'sgpool-64.tunables.batchcount': 12,
            'sgpool-64.tunables.sharedfactor': 8,
            'sgpool-64.slabdata.active_slabs': 16,
            'sgpool-64.slabdata.num_slabs': 16,
            'sgpool-64.slabdata.sharedavail': 0,
            'sgpool-32.active_objs': 34,
            'sgpool-32.num_objs': 36,
            'sgpool-32.objsize': 1024,
            'sgpool-32.objperslab': 4,
            'sgpool-32.pagesperslab': 1,
            'sgpool-32.tunables.limit': 54,
            'sgpool-32.tunables.batchcount': 27,
            'sgpool-32.tunables.sharedfactor': 8,
            'sgpool-32.slabdata.active_slabs': 9,
            'sgpool-32.slabdata.num_slabs': 9,
            'sgpool-32.slabdata.sharedavail': 2,
            'sgpool-16.active_objs': 41,
            'sgpool-16.num_objs': 56,
            'sgpool-16.objsize': 512,
            'sgpool-16.objperslab': 8,
            'sgpool-16.pagesperslab': 1,
            'sgpool-16.tunables.limit': 54,
            'sgpool-16.tunables.batchcount': 27,
            'sgpool-16.tunables.sharedfactor': 8,
            'sgpool-16.slabdata.active_slabs': 6,
            'sgpool-16.slabdata.num_slabs': 7,
            'sgpool-16.slabdata.sharedavail': 4,
            'sgpool-8.active_objs': 571,
            'sgpool-8.num_objs': 660,
            'sgpool-8.objsize': 256,
            'sgpool-8.objperslab': 15,
            'sgpool-8.pagesperslab': 1,
            'sgpool-8.tunables.limit': 120,
            'sgpool-8.tunables.batchcount': 60,
            'sgpool-8.tunables.sharedfactor': 8,
            'sgpool-8.slabdata.active_slabs': 44,
            'sgpool-8.slabdata.num_slabs': 44,
            'sgpool-8.slabdata.sharedavail': 404,
            'scsi_io_context.active_objs': 0,
            'scsi_io_context.num_objs': 0,
            'scsi_io_context.objsize': 112,
            'scsi_io_context.objperslab': 34,
            'scsi_io_context.pagesperslab': 1,
            'scsi_io_context.tunables.limit': 120,
            'scsi_io_context.tunables.batchcount': 60,
            'scsi_io_context.tunables.sharedfactor': 8,
            'scsi_io_context.slabdata.active_slabs': 0,
            'scsi_io_context.slabdata.num_slabs': 0,
            'scsi_io_context.slabdata.sharedavail': 0,
            'ext3_inode_cache.active_objs': 20908,
            'ext3_inode_cache.num_objs': 21160,
            'ext3_inode_cache.objsize': 760,
            'ext3_inode_cache.objperslab': 5,
            'ext3_inode_cache.pagesperslab': 1,
            'ext3_inode_cache.tunables.limit': 54,
            'ext3_inode_cache.tunables.batchcount': 27,
            'ext3_inode_cache.tunables.sharedfactor': 8,
            'ext3_inode_cache.slabdata.active_slabs': 4232,
            'ext3_inode_cache.slabdata.num_slabs': 4232,
            'ext3_inode_cache.slabdata.sharedavail': 0,
            'ext3_xattr.active_objs': 98,
            'ext3_xattr.num_objs': 132,
            'ext3_xattr.objsize': 88,
            'ext3_xattr.objperslab': 44,
            'ext3_xattr.pagesperslab': 1,
            'ext3_xattr.tunables.limit': 120,
            'ext3_xattr.tunables.batchcount': 60,
            'ext3_xattr.tunables.sharedfactor': 8,
            'ext3_xattr.slabdata.active_slabs': 3,
            'ext3_xattr.slabdata.num_slabs': 3,
            'ext3_xattr.slabdata.sharedavail': 0,
            'journal_handle.active_objs': 224,
            'journal_handle.num_objs': 288,
            'journal_handle.objsize': 24,
            'journal_handle.objperslab': 144,
            'journal_handle.pagesperslab': 1,
            'journal_handle.tunables.limit': 120,
            'journal_handle.tunables.batchcount': 60,
            'journal_handle.tunables.sharedfactor': 8,
            'journal_handle.slabdata.active_slabs': 2,
            'journal_handle.slabdata.num_slabs': 2,
            'journal_handle.slabdata.sharedavail': 0,
            'journal_head.active_objs': 304,
            'journal_head.num_objs': 320,
            'journal_head.objsize': 96,
            'journal_head.objperslab': 40,
            'journal_head.pagesperslab': 1,
            'journal_head.tunables.limit': 120,
            'journal_head.tunables.batchcount': 60,
            'journal_head.tunables.sharedfactor': 8,
            'journal_head.slabdata.active_slabs': 8,
            'journal_head.slabdata.num_slabs': 8,
            'journal_head.slabdata.sharedavail': 47,
            'revoke_table.active_objs': 2,
            'revoke_table.num_objs': 202,
            'revoke_table.objsize': 16,
            'revoke_table.objperslab': 202,
            'revoke_table.pagesperslab': 1,
            'revoke_table.tunables.limit': 120,
            'revoke_table.tunables.batchcount': 60,
            'revoke_table.tunables.sharedfactor': 8,
            'revoke_table.slabdata.active_slabs': 1,
            'revoke_table.slabdata.num_slabs': 1,
            'revoke_table.slabdata.sharedavail': 0,
            'revoke_record.active_objs': 0,
            'revoke_record.num_objs': 0,
            'revoke_record.objsize': 32,
            'revoke_record.objperslab': 112,
            'revoke_record.pagesperslab': 1,
            'revoke_record.tunables.limit': 120,
            'revoke_record.tunables.batchcount': 60,
            'revoke_record.tunables.sharedfactor': 8,
            'revoke_record.slabdata.active_slabs': 0,
            'revoke_record.slabdata.num_slabs': 0,
            'revoke_record.slabdata.sharedavail': 0,
            'uhci_urb_priv.active_objs': 1,
            'uhci_urb_priv.num_objs': 67,
            'uhci_urb_priv.objsize': 56,
            'uhci_urb_priv.objperslab': 67,
            'uhci_urb_priv.pagesperslab': 1,
            'uhci_urb_priv.tunables.limit': 120,
            'uhci_urb_priv.tunables.batchcount': 60,
            'uhci_urb_priv.tunables.sharedfactor': 8,
            'uhci_urb_priv.slabdata.active_slabs': 1,
            'uhci_urb_priv.slabdata.num_slabs': 1,
            'uhci_urb_priv.slabdata.sharedavail': 0,
            'UNIX.active_objs': 76,
            'UNIX.num_objs': 77,
            'UNIX.objsize': 704,
            'UNIX.objperslab': 11,
            'UNIX.pagesperslab': 2,
            'UNIX.tunables.limit': 54,
            'UNIX.tunables.batchcount': 27,
            'UNIX.tunables.sharedfactor': 8,
            'UNIX.slabdata.active_slabs': 7,
            'UNIX.slabdata.num_slabs': 7,
            'UNIX.slabdata.sharedavail': 3,
            'flow_cache.active_objs': 0,
            'flow_cache.num_objs': 0,
            'flow_cache.objsize': 128,
            'flow_cache.objperslab': 30,
            'flow_cache.pagesperslab': 1,
            'flow_cache.tunables.limit': 120,
            'flow_cache.tunables.batchcount': 60,
            'flow_cache.tunables.sharedfactor': 8,
            'flow_cache.slabdata.active_slabs': 0,
            'flow_cache.slabdata.num_slabs': 0,
            'flow_cache.slabdata.sharedavail': 0,
            'msi_cache.active_objs': 26,
            'msi_cache.num_objs': 118,
            'msi_cache.objsize': 64,
            'msi_cache.objperslab': 59,
            'msi_cache.pagesperslab': 1,
            'msi_cache.tunables.limit': 120,
            'msi_cache.tunables.batchcount': 60,
            'msi_cache.tunables.sharedfactor': 8,
            'msi_cache.slabdata.active_slabs': 2,
            'msi_cache.slabdata.num_slabs': 2,
            'msi_cache.slabdata.sharedavail': 0,
            'cfq_ioc_pool.active_objs': 56,
            'cfq_ioc_pool.num_objs': 240,
            'cfq_ioc_pool.objsize': 128,
            'cfq_ioc_pool.objperslab': 30,
            'cfq_ioc_pool.pagesperslab': 1,
            'cfq_ioc_pool.tunables.limit': 120,
            'cfq_ioc_pool.tunables.batchcount': 60,
            'cfq_ioc_pool.tunables.sharedfactor': 8,
            'cfq_ioc_pool.slabdata.active_slabs': 8,
            'cfq_ioc_pool.slabdata.num_slabs': 8,
            'cfq_ioc_pool.slabdata.sharedavail': 0,
            'cfq_pool.active_objs': 38,
            'cfq_pool.num_objs': 198,
            'cfq_pool.objsize': 216,
            'cfq_pool.objperslab': 18,
            'cfq_pool.pagesperslab': 1,
            'cfq_pool.tunables.limit': 120,
            'cfq_pool.tunables.batchcount': 60,
            'cfq_pool.tunables.sharedfactor': 8,
            'cfq_pool.slabdata.active_slabs': 11,
            'cfq_pool.slabdata.num_slabs': 11,
            'cfq_pool.slabdata.sharedavail': 0,
            'crq_pool.active_objs': 58,
            'crq_pool.num_objs': 96,
            'crq_pool.objsize': 80,
            'crq_pool.objperslab': 48,
            'crq_pool.pagesperslab': 1,
            'crq_pool.tunables.limit': 120,
            'crq_pool.tunables.batchcount': 60,
            'crq_pool.tunables.sharedfactor': 8,
            'crq_pool.slabdata.active_slabs': 2,
            'crq_pool.slabdata.num_slabs': 2,
            'crq_pool.slabdata.sharedavail': 10,
            'deadline_drq.active_objs': 605,
            'deadline_drq.num_objs': 672,
            'deadline_drq.objsize': 80,
            'deadline_drq.objperslab': 48,
            'deadline_drq.pagesperslab': 1,
            'deadline_drq.tunables.limit': 120,
            'deadline_drq.tunables.batchcount': 60,
            'deadline_drq.tunables.sharedfactor': 8,
            'deadline_drq.slabdata.active_slabs': 14,
            'deadline_drq.slabdata.num_slabs': 14,
            'deadline_drq.slabdata.sharedavail': 457,
            'as_arq.active_objs': 0,
            'as_arq.num_objs': 0,
            'as_arq.objsize': 96,
            'as_arq.objperslab': 40,
            'as_arq.pagesperslab': 1,
            'as_arq.tunables.limit': 120,
            'as_arq.tunables.batchcount': 60,
            'as_arq.tunables.sharedfactor': 8,
            'as_arq.slabdata.active_slabs': 0,
            'as_arq.slabdata.num_slabs': 0,
            'as_arq.slabdata.sharedavail': 0,
            'mqueue_inode_cache.active_objs': 1,
            'mqueue_inode_cache.num_objs': 4,
            'mqueue_inode_cache.objsize': 896,
            'mqueue_inode_cache.objperslab': 4,
            'mqueue_inode_cache.pagesperslab': 1,
            'mqueue_inode_cache.tunables.limit': 54,
            'mqueue_inode_cache.tunables.batchcount': 27,
            'mqueue_inode_cache.tunables.sharedfactor': 8,
            'mqueue_inode_cache.slabdata.active_slabs': 1,
            'mqueue_inode_cache.slabdata.num_slabs': 1,
            'mqueue_inode_cache.slabdata.sharedavail': 0,
            'isofs_inode_cache.active_objs': 0,
            'isofs_inode_cache.num_objs': 0,
            'isofs_inode_cache.objsize': 608,
            'isofs_inode_cache.objperslab': 6,
            'isofs_inode_cache.pagesperslab': 1,
            'isofs_inode_cache.tunables.limit': 54,
            'isofs_inode_cache.tunables.batchcount': 27,
            'isofs_inode_cache.tunables.sharedfactor': 8,
            'isofs_inode_cache.slabdata.active_slabs': 0,
            'isofs_inode_cache.slabdata.num_slabs': 0,
            'isofs_inode_cache.slabdata.sharedavail': 0,
            'hugetlbfs_inode_cache.active_objs': 1,
            'hugetlbfs_inode_cache.num_objs': 7,
            'hugetlbfs_inode_cache.objsize': 576,
            'hugetlbfs_inode_cache.objperslab': 7,
            'hugetlbfs_inode_cache.pagesperslab': 1,
            'hugetlbfs_inode_cache.tunables.limit': 54,
            'hugetlbfs_inode_cache.tunables.batchcount': 27,
            'hugetlbfs_inode_cache.tunables.sharedfactor': 8,
            'hugetlbfs_inode_cache.slabdata.active_slabs': 1,
            'hugetlbfs_inode_cache.slabdata.num_slabs': 1,
            'hugetlbfs_inode_cache.slabdata.sharedavail': 0,
            'ext2_inode_cache.active_objs': 0,
            'ext2_inode_cache.num_objs': 0,
            'ext2_inode_cache.objsize': 720,
            'ext2_inode_cache.objperslab': 5,
            'ext2_inode_cache.pagesperslab': 1,
            'ext2_inode_cache.tunables.limit': 54,
            'ext2_inode_cache.tunables.batchcount': 27,
            'ext2_inode_cache.tunables.sharedfactor': 8,
            'ext2_inode_cache.slabdata.active_slabs': 0,
            'ext2_inode_cache.slabdata.num_slabs': 0,
            'ext2_inode_cache.slabdata.sharedavail': 0,
            'ext2_xattr.active_objs': 0,
            'ext2_xattr.num_objs': 0,
            'ext2_xattr.objsize': 88,
            'ext2_xattr.objperslab': 44,
            'ext2_xattr.pagesperslab': 1,
            'ext2_xattr.tunables.limit': 120,
            'ext2_xattr.tunables.batchcount': 60,
            'ext2_xattr.tunables.sharedfactor': 8,
            'ext2_xattr.slabdata.active_slabs': 0,
            'ext2_xattr.slabdata.num_slabs': 0,
            'ext2_xattr.slabdata.sharedavail': 0,
            'dnotify_cache.active_objs': 0,
            'dnotify_cache.num_objs': 0,
            'dnotify_cache.objsize': 40,
            'dnotify_cache.objperslab': 92,
            'dnotify_cache.pagesperslab': 1,
            'dnotify_cache.tunables.limit': 120,
            'dnotify_cache.tunables.batchcount': 60,
            'dnotify_cache.tunables.sharedfactor': 8,
            'dnotify_cache.slabdata.active_slabs': 0,
            'dnotify_cache.slabdata.num_slabs': 0,
            'dnotify_cache.slabdata.sharedavail': 0,
            'dquot.active_objs': 0,
            'dquot.num_objs': 0,
            'dquot.objsize': 256,
            'dquot.objperslab': 15,
            'dquot.pagesperslab': 1,
            'dquot.tunables.limit': 120,
            'dquot.tunables.batchcount': 60,
            'dquot.tunables.sharedfactor': 8,
            'dquot.slabdata.active_slabs': 0,
            'dquot.slabdata.num_slabs': 0,
            'dquot.slabdata.sharedavail': 0,
            'eventpoll_pwq.active_objs': 191,
            'eventpoll_pwq.num_objs': 212,
            'eventpoll_pwq.objsize': 72,
            'eventpoll_pwq.objperslab': 53,
            'eventpoll_pwq.pagesperslab': 1,
            'eventpoll_pwq.tunables.limit': 120,
            'eventpoll_pwq.tunables.batchcount': 60,
            'eventpoll_pwq.tunables.sharedfactor': 8,
            'eventpoll_pwq.slabdata.active_slabs': 4,
            'eventpoll_pwq.slabdata.num_slabs': 4,
            'eventpoll_pwq.slabdata.sharedavail': 16,
            'eventpoll_epi.active_objs': 140,
            'eventpoll_epi.num_objs': 140,
            'eventpoll_epi.objsize': 192,
            'eventpoll_epi.objperslab': 20,
            'eventpoll_epi.pagesperslab': 1,
            'eventpoll_epi.tunables.limit': 120,
            'eventpoll_epi.tunables.batchcount': 60,
            'eventpoll_epi.tunables.sharedfactor': 8,
            'eventpoll_epi.slabdata.active_slabs': 7,
            'eventpoll_epi.slabdata.num_slabs': 7,
            'eventpoll_epi.slabdata.sharedavail': 16,
            'inotify_event_cache.active_objs': 0,
            'inotify_event_cache.num_objs': 0,
            'inotify_event_cache.objsize': 40,
            'inotify_event_cache.objperslab': 92,
            'inotify_event_cache.pagesperslab': 1,
            'inotify_event_cache.tunables.limit': 120,
            'inotify_event_cache.tunables.batchcount': 60,
            'inotify_event_cache.tunables.sharedfactor': 8,
            'inotify_event_cache.slabdata.active_slabs': 0,
            'inotify_event_cache.slabdata.num_slabs': 0,
            'inotify_event_cache.slabdata.sharedavail': 0,
            'inotify_watch_cache.active_objs': 1,
            'inotify_watch_cache.num_objs': 53,
            'inotify_watch_cache.objsize': 72,
            'inotify_watch_cache.objperslab': 53,
            'inotify_watch_cache.pagesperslab': 1,
            'inotify_watch_cache.tunables.limit': 120,
            'inotify_watch_cache.tunables.batchcount': 60,
            'inotify_watch_cache.tunables.sharedfactor': 8,
            'inotify_watch_cache.slabdata.active_slabs': 1,
            'inotify_watch_cache.slabdata.num_slabs': 1,
            'inotify_watch_cache.slabdata.sharedavail': 0,
            'kioctx.active_objs': 0,
            'kioctx.num_objs': 0,
            'kioctx.objsize': 320,
            'kioctx.objperslab': 12,
            'kioctx.pagesperslab': 1,
            'kioctx.tunables.limit': 54,
            'kioctx.tunables.batchcount': 27,
            'kioctx.tunables.sharedfactor': 8,
            'kioctx.slabdata.active_slabs': 0,
            'kioctx.slabdata.num_slabs': 0,
            'kioctx.slabdata.sharedavail': 0,
            'kiocb.active_objs': 0,
            'kiocb.num_objs': 0,
            'kiocb.objsize': 256,
            'kiocb.objperslab': 15,
            'kiocb.pagesperslab': 1,
            'kiocb.tunables.limit': 120,
            'kiocb.tunables.batchcount': 60,
            'kiocb.tunables.sharedfactor': 8,
            'kiocb.slabdata.active_slabs': 0,
            'kiocb.slabdata.num_slabs': 0,
            'kiocb.slabdata.sharedavail': 0,
            'fasync_cache.active_objs': 0,
            'fasync_cache.num_objs': 0,
            'fasync_cache.objsize': 24,
            'fasync_cache.objperslab': 144,
            'fasync_cache.pagesperslab': 1,
            'fasync_cache.tunables.limit': 120,
            'fasync_cache.tunables.batchcount': 60,
            'fasync_cache.tunables.sharedfactor': 8,
            'fasync_cache.slabdata.active_slabs': 0,
            'fasync_cache.slabdata.num_slabs': 0,
            'fasync_cache.slabdata.sharedavail': 0,
            'shmem_inode_cache.active_objs': 456,
            'shmem_inode_cache.num_objs': 585,
            'shmem_inode_cache.objsize': 768,
            'shmem_inode_cache.objperslab': 5,
            'shmem_inode_cache.pagesperslab': 1,
            'shmem_inode_cache.tunables.limit': 54,
            'shmem_inode_cache.tunables.batchcount': 27,
            'shmem_inode_cache.tunables.sharedfactor': 8,
            'shmem_inode_cache.slabdata.active_slabs': 117,
            'shmem_inode_cache.slabdata.num_slabs': 117,
            'shmem_inode_cache.slabdata.sharedavail': 0,
            'posix_timers_cache.active_objs': 0,
            'posix_timers_cache.num_objs': 0,
            'posix_timers_cache.objsize': 128,
            'posix_timers_cache.objperslab': 30,
            'posix_timers_cache.pagesperslab': 1,
            'posix_timers_cache.tunables.limit': 120,
            'posix_timers_cache.tunables.batchcount': 60,
            'posix_timers_cache.tunables.sharedfactor': 8,
            'posix_timers_cache.slabdata.active_slabs': 0,
            'posix_timers_cache.slabdata.num_slabs': 0,
            'posix_timers_cache.slabdata.sharedavail': 0,
            'uid_cache.active_objs': 21,
            'uid_cache.num_objs': 90,
            'uid_cache.objsize': 128,
            'uid_cache.objperslab': 30,
            'uid_cache.pagesperslab': 1,
            'uid_cache.tunables.limit': 120,
            'uid_cache.tunables.batchcount': 60,
            'uid_cache.tunables.sharedfactor': 8,
            'uid_cache.slabdata.active_slabs': 3,
            'uid_cache.slabdata.num_slabs': 3,
            'uid_cache.slabdata.sharedavail': 1,
            'ip_mrt_cache.active_objs': 0,
            'ip_mrt_cache.num_objs': 0,
            'ip_mrt_cache.objsize': 128,
            'ip_mrt_cache.objperslab': 30,
            'ip_mrt_cache.pagesperslab': 1,
            'ip_mrt_cache.tunables.limit': 120,
            'ip_mrt_cache.tunables.batchcount': 60,
            'ip_mrt_cache.tunables.sharedfactor': 8,
            'ip_mrt_cache.slabdata.active_slabs': 0,
            'ip_mrt_cache.slabdata.num_slabs': 0,
            'ip_mrt_cache.slabdata.sharedavail': 0,
            'tcp_bind_bucket.active_objs': 9,
            'tcp_bind_bucket.num_objs': 224,
            'tcp_bind_bucket.objsize': 32,
            'tcp_bind_bucket.objperslab': 112,
            'tcp_bind_bucket.pagesperslab': 1,
            'tcp_bind_bucket.tunables.limit': 120,
            'tcp_bind_bucket.tunables.batchcount': 60,
            'tcp_bind_bucket.tunables.sharedfactor': 8,
            'tcp_bind_bucket.slabdata.active_slabs': 2,
            'tcp_bind_bucket.slabdata.num_slabs': 2,
            'tcp_bind_bucket.slabdata.sharedavail': 0,
            'inet_peer_cache.active_objs': 4,
            'inet_peer_cache.num_objs': 60,
            'inet_peer_cache.objsize': 128,
            'inet_peer_cache.objperslab': 30,
            'inet_peer_cache.pagesperslab': 1,
            'inet_peer_cache.tunables.limit': 120,
            'inet_peer_cache.tunables.batchcount': 60,
            'inet_peer_cache.tunables.sharedfactor': 8,
            'inet_peer_cache.slabdata.active_slabs': 2,
            'inet_peer_cache.slabdata.num_slabs': 2,
            'inet_peer_cache.slabdata.sharedavail': 0,
            'secpath_cache.active_objs': 0,
            'secpath_cache.num_objs': 0,
            'secpath_cache.objsize': 64,
            'secpath_cache.objperslab': 59,
            'secpath_cache.pagesperslab': 1,
            'secpath_cache.tunables.limit': 120,
            'secpath_cache.tunables.batchcount': 60,
            'secpath_cache.tunables.sharedfactor': 8,
            'secpath_cache.slabdata.active_slabs': 0,
            'secpath_cache.slabdata.num_slabs': 0,
            'secpath_cache.slabdata.sharedavail': 0,
            'xfrm_dst_cache.active_objs': 0,
            'xfrm_dst_cache.num_objs': 0,
            'xfrm_dst_cache.objsize': 384,
            'xfrm_dst_cache.objperslab': 10,
            'xfrm_dst_cache.pagesperslab': 1,
            'xfrm_dst_cache.tunables.limit': 54,
            'xfrm_dst_cache.tunables.batchcount': 27,
            'xfrm_dst_cache.tunables.sharedfactor': 8,
            'xfrm_dst_cache.slabdata.active_slabs': 0,
            'xfrm_dst_cache.slabdata.num_slabs': 0,
            'xfrm_dst_cache.slabdata.sharedavail': 0,
            'ip_dst_cache.active_objs': 43,
            'ip_dst_cache.num_objs': 90,
            'ip_dst_cache.objsize': 384,
            'ip_dst_cache.objperslab': 10,
            'ip_dst_cache.pagesperslab': 1,
            'ip_dst_cache.tunables.limit': 54,
            'ip_dst_cache.tunables.batchcount': 27,
            'ip_dst_cache.tunables.sharedfactor': 8,
            'ip_dst_cache.slabdata.active_slabs': 9,
            'ip_dst_cache.slabdata.num_slabs': 9,
            'ip_dst_cache.slabdata.sharedavail': 0,
            'arp_cache.active_objs': 23,
            'arp_cache.num_objs': 60,
            'arp_cache.objsize': 256,
            'arp_cache.objperslab': 15,
            'arp_cache.pagesperslab': 1,
            'arp_cache.tunables.limit': 120,
            'arp_cache.tunables.batchcount': 60,
            'arp_cache.tunables.sharedfactor': 8,
            'arp_cache.slabdata.active_slabs': 4,
            'arp_cache.slabdata.num_slabs': 4,
            'arp_cache.slabdata.sharedavail': 0,
            'RAW.active_objs': 25,
            'RAW.num_objs': 25,
            'RAW.objsize': 768,
            'RAW.objperslab': 5,
            'RAW.pagesperslab': 1,
            'RAW.tunables.limit': 54,
            'RAW.tunables.batchcount': 27,
            'RAW.tunables.sharedfactor': 8,
            'RAW.slabdata.active_slabs': 5,
            'RAW.slabdata.num_slabs': 5,
            'RAW.slabdata.sharedavail': 0,
            'UDP.active_objs': 120,
            'UDP.num_objs': 120,
            'UDP.objsize': 768,
            'UDP.objperslab': 5,
            'UDP.pagesperslab': 1,
            'UDP.tunables.limit': 54,
            'UDP.tunables.batchcount': 27,
            'UDP.tunables.sharedfactor': 8,
            'UDP.slabdata.active_slabs': 24,
            'UDP.slabdata.num_slabs': 24,
            'UDP.slabdata.sharedavail': 14,
            'tw_sock_TCP.active_objs': 1,
            'tw_sock_TCP.num_objs': 20,
            'tw_sock_TCP.objsize': 192,
            'tw_sock_TCP.objperslab': 20,
            'tw_sock_TCP.pagesperslab': 1,
            'tw_sock_TCP.tunables.limit': 120,
            'tw_sock_TCP.tunables.batchcount': 60,
            'tw_sock_TCP.tunables.sharedfactor': 8,
            'tw_sock_TCP.slabdata.active_slabs': 1,
            'tw_sock_TCP.slabdata.num_slabs': 1,
            'tw_sock_TCP.slabdata.sharedavail': 0,
            'request_sock_TCP.active_objs': 16,
            'request_sock_TCP.num_objs': 30,
            'request_sock_TCP.objsize': 128,
            'request_sock_TCP.objperslab': 30,
            'request_sock_TCP.pagesperslab': 1,
            'request_sock_TCP.tunables.limit': 120,
            'request_sock_TCP.tunables.batchcount': 60,
            'request_sock_TCP.tunables.sharedfactor': 8,
            'request_sock_TCP.slabdata.active_slabs': 1,
            'request_sock_TCP.slabdata.num_slabs': 1,
            'request_sock_TCP.slabdata.sharedavail': 0,
            'TCP.active_objs': 85,
            'TCP.num_objs': 85,
            'TCP.objsize': 1600,
            'TCP.objperslab': 5,
            'TCP.pagesperslab': 2,
            'TCP.tunables.limit': 24,
            'TCP.tunables.batchcount': 12,
            'TCP.tunables.sharedfactor': 8,
            'TCP.slabdata.active_slabs': 17,
            'TCP.slabdata.num_slabs': 17,
            'TCP.slabdata.sharedavail': 0,
            'blkdev_ioc.active_objs': 57,
            'blkdev_ioc.num_objs': 295,
            'blkdev_ioc.objsize': 64,
            'blkdev_ioc.objperslab': 59,
            'blkdev_ioc.pagesperslab': 1,
            'blkdev_ioc.tunables.limit': 120,
            'blkdev_ioc.tunables.batchcount': 60,
            'blkdev_ioc.tunables.sharedfactor': 8,
            'blkdev_ioc.slabdata.active_slabs': 5,
            'blkdev_ioc.slabdata.num_slabs': 5,
            'blkdev_ioc.slabdata.sharedavail': 0,
            'blkdev_queue.active_objs': 19,
            'blkdev_queue.num_objs': 25,
            'blkdev_queue.objsize': 1576,
            'blkdev_queue.objperslab': 5,
            'blkdev_queue.pagesperslab': 2,
            'blkdev_queue.tunables.limit': 24,
            'blkdev_queue.tunables.batchcount': 12,
            'blkdev_queue.tunables.sharedfactor': 8,
            'blkdev_queue.slabdata.active_slabs': 5,
            'blkdev_queue.slabdata.num_slabs': 5,
            'blkdev_queue.slabdata.sharedavail': 0,
            'blkdev_requests.active_objs': 275,
            'blkdev_requests.num_objs': 308,
            'blkdev_requests.objsize': 272,
            'blkdev_requests.objperslab': 14,
            'blkdev_requests.pagesperslab': 1,
            'blkdev_requests.tunables.limit': 54,
            'blkdev_requests.tunables.batchcount': 27,
            'blkdev_requests.tunables.sharedfactor': 8,
            'blkdev_requests.slabdata.active_slabs': 22,
            'blkdev_requests.slabdata.num_slabs': 22,
            'blkdev_requests.slabdata.sharedavail': 206,
            'biovec-256.active_objs': 7,
            'biovec-256.num_objs': 7,
            'biovec-256.objsize': 4096,
            'biovec-256.objperslab': 1,
            'biovec-256.pagesperslab': 1,
            'biovec-256.tunables.limit': 24,
            'biovec-256.tunables.batchcount': 12,
            'biovec-256.tunables.sharedfactor': 8,
            'biovec-256.slabdata.active_slabs': 7,
            'biovec-256.slabdata.num_slabs': 7,
            'biovec-256.slabdata.sharedavail': 0,
            'biovec-128.active_objs': 7,
            'biovec-128.num_objs': 8,
            'biovec-128.objsize': 2048,
            'biovec-128.objperslab': 2,
            'biovec-128.pagesperslab': 1,
            'biovec-128.tunables.limit': 24,
            'biovec-128.tunables.batchcount': 12,
            'biovec-128.tunables.sharedfactor': 8,
            'biovec-128.slabdata.active_slabs': 4,
            'biovec-128.slabdata.num_slabs': 4,
            'biovec-128.slabdata.sharedavail': 0,
            'biovec-64.active_objs': 53,
            'biovec-64.num_objs': 76,
            'biovec-64.objsize': 1024,
            'biovec-64.objperslab': 4,
            'biovec-64.pagesperslab': 1,
            'biovec-64.tunables.limit': 54,
            'biovec-64.tunables.batchcount': 27,
            'biovec-64.tunables.sharedfactor': 8,
            'biovec-64.slabdata.active_slabs': 19,
            'biovec-64.slabdata.num_slabs': 19,
            'biovec-64.slabdata.sharedavail': 16,
            'biovec-16.active_objs': 19,
            'biovec-16.num_objs': 45,
            'biovec-16.objsize': 256,
            'biovec-16.objperslab': 15,
            'biovec-16.pagesperslab': 1,
            'biovec-16.tunables.limit': 120,
            'biovec-16.tunables.batchcount': 60,
            'biovec-16.tunables.sharedfactor': 8,
            'biovec-16.slabdata.active_slabs': 3,
            'biovec-16.slabdata.num_slabs': 3,
            'biovec-16.slabdata.sharedavail': 0,
            'biovec-4.active_objs': 151,
            'biovec-4.num_objs': 236,
            'biovec-4.objsize': 64,
            'biovec-4.objperslab': 59,
            'biovec-4.pagesperslab': 1,
            'biovec-4.tunables.limit': 120,
            'biovec-4.tunables.batchcount': 60,
            'biovec-4.tunables.sharedfactor': 8,
            'biovec-4.slabdata.active_slabs': 4,
            'biovec-4.slabdata.num_slabs': 4,
            'biovec-4.slabdata.sharedavail': 30,
            'biovec-1.active_objs': 598,
            'biovec-1.num_objs': 808,
            'biovec-1.objsize': 16,
            'biovec-1.objperslab': 202,
            'biovec-1.pagesperslab': 1,
            'biovec-1.tunables.limit': 120,
            'biovec-1.tunables.batchcount': 60,
            'biovec-1.tunables.sharedfactor': 8,
            'biovec-1.slabdata.active_slabs': 4,
            'biovec-1.slabdata.num_slabs': 4,
            'biovec-1.slabdata.sharedavail': 480,
            'bio.active_objs': 824,
            'bio.num_objs': 960,
            'bio.objsize': 128,
            'bio.objperslab': 30,
            'bio.pagesperslab': 1,
            'bio.tunables.limit': 120,
            'bio.tunables.batchcount': 60,
            'bio.tunables.sharedfactor': 8,
            'bio.slabdata.active_slabs': 32,
            'bio.slabdata.num_slabs': 32,
            'bio.slabdata.sharedavail': 411,
            'utrace_engine_cache.active_objs': 0,
            'utrace_engine_cache.num_objs': 0,
            'utrace_engine_cache.objsize': 64,
            'utrace_engine_cache.objperslab': 59,
            'utrace_engine_cache.pagesperslab': 1,
            'utrace_engine_cache.tunables.limit': 120,
            'utrace_engine_cache.tunables.batchcount': 60,
            'utrace_engine_cache.tunables.sharedfactor': 8,
            'utrace_engine_cache.slabdata.active_slabs': 0,
            'utrace_engine_cache.slabdata.num_slabs': 0,
            'utrace_engine_cache.slabdata.sharedavail': 0,
            'utrace_cache.active_objs': 0,
            'utrace_cache.num_objs': 0,
            'utrace_cache.objsize': 64,
            'utrace_cache.objperslab': 59,
            'utrace_cache.pagesperslab': 1,
            'utrace_cache.tunables.limit': 120,
            'utrace_cache.tunables.batchcount': 60,
            'utrace_cache.tunables.sharedfactor': 8,
            'utrace_cache.slabdata.active_slabs': 0,
            'utrace_cache.slabdata.num_slabs': 0,
            'utrace_cache.slabdata.sharedavail': 0,
            'sock_inode_cache.active_objs': 318,
            'sock_inode_cache.num_objs': 318,
            'sock_inode_cache.objsize': 640,
            'sock_inode_cache.objperslab': 6,
            'sock_inode_cache.pagesperslab': 1,
            'sock_inode_cache.tunables.limit': 54,
            'sock_inode_cache.tunables.batchcount': 27,
            'sock_inode_cache.tunables.sharedfactor': 8,
            'sock_inode_cache.slabdata.active_slabs': 53,
            'sock_inode_cache.slabdata.num_slabs': 53,
            'sock_inode_cache.slabdata.sharedavail': 0,
            'skbuff_fclone_cache.active_objs': 70,
            'skbuff_fclone_cache.num_objs': 70,
            'skbuff_fclone_cache.objsize': 512,
            'skbuff_fclone_cache.objperslab': 7,
            'skbuff_fclone_cache.pagesperslab': 1,
            'skbuff_fclone_cache.tunables.limit': 54,
            'skbuff_fclone_cache.tunables.batchcount': 27,
            'skbuff_fclone_cache.tunables.sharedfactor': 8,
            'skbuff_fclone_cache.slabdata.active_slabs': 10,
            'skbuff_fclone_cache.slabdata.num_slabs': 10,
            'skbuff_fclone_cache.slabdata.sharedavail': 1,
            'skbuff_head_cache.active_objs': 2924,
            'skbuff_head_cache.num_objs': 3945,
            'skbuff_head_cache.objsize': 256,
            'skbuff_head_cache.objperslab': 15,
            'skbuff_head_cache.pagesperslab': 1,
            'skbuff_head_cache.tunables.limit': 120,
            'skbuff_head_cache.tunables.batchcount': 60,
            'skbuff_head_cache.tunables.sharedfactor': 8,
            'skbuff_head_cache.slabdata.active_slabs': 263,
            'skbuff_head_cache.slabdata.num_slabs': 263,
            'skbuff_head_cache.slabdata.sharedavail': 10,
            'file_lock_cache.active_objs': 254,
            'file_lock_cache.num_objs': 286,
            'file_lock_cache.objsize': 176,
            'file_lock_cache.objperslab': 22,
            'file_lock_cache.pagesperslab': 1,
            'file_lock_cache.tunables.limit': 120,
            'file_lock_cache.tunables.batchcount': 60,
            'file_lock_cache.tunables.sharedfactor': 8,
            'file_lock_cache.slabdata.active_slabs': 13,
            'file_lock_cache.slabdata.num_slabs': 13,
            'file_lock_cache.slabdata.sharedavail': 0,
            'Acpi-Operand.active_objs': 3831,
            'Acpi-Operand.num_objs': 4897,
            'Acpi-Operand.objsize': 64,
            'Acpi-Operand.objperslab': 59,
            'Acpi-Operand.pagesperslab': 1,
            'Acpi-Operand.tunables.limit': 120,
            'Acpi-Operand.tunables.batchcount': 60,
            'Acpi-Operand.tunables.sharedfactor': 8,
            'Acpi-Operand.slabdata.active_slabs': 83,
            'Acpi-Operand.slabdata.num_slabs': 83,
            'Acpi-Operand.slabdata.sharedavail': 0,
            'Acpi-ParseExt.active_objs': 0,
            'Acpi-ParseExt.num_objs': 0,
            'Acpi-ParseExt.objsize': 64,
            'Acpi-ParseExt.objperslab': 59,
            'Acpi-ParseExt.pagesperslab': 1,
            'Acpi-ParseExt.tunables.limit': 120,
            'Acpi-ParseExt.tunables.batchcount': 60,
            'Acpi-ParseExt.tunables.sharedfactor': 8,
            'Acpi-ParseExt.slabdata.active_slabs': 0,
            'Acpi-ParseExt.slabdata.num_slabs': 0,
            'Acpi-ParseExt.slabdata.sharedavail': 0,
            'Acpi-Parse.active_objs': 0,
            'Acpi-Parse.num_objs': 0,
            'Acpi-Parse.objsize': 40,
            'Acpi-Parse.objperslab': 92,
            'Acpi-Parse.pagesperslab': 1,
            'Acpi-Parse.tunables.limit': 120,
            'Acpi-Parse.tunables.batchcount': 60,
            'Acpi-Parse.tunables.sharedfactor': 8,
            'Acpi-Parse.slabdata.active_slabs': 0,
            'Acpi-Parse.slabdata.num_slabs': 0,
            'Acpi-Parse.slabdata.sharedavail': 0,
            'Acpi-State.active_objs': 0,
            'Acpi-State.num_objs': 0,
            'Acpi-State.objsize': 80,
            'Acpi-State.objperslab': 48,
            'Acpi-State.pagesperslab': 1,
            'Acpi-State.tunables.limit': 120,
            'Acpi-State.tunables.batchcount': 60,
            'Acpi-State.tunables.sharedfactor': 8,
            'Acpi-State.slabdata.active_slabs': 0,
            'Acpi-State.slabdata.num_slabs': 0,
            'Acpi-State.slabdata.sharedavail': 0,
            'Acpi-Namespace.active_objs': 1201,
            'Acpi-Namespace.num_objs': 1456,
            'Acpi-Namespace.objsize': 32,
            'Acpi-Namespace.objperslab': 112,
            'Acpi-Namespace.pagesperslab': 1,
            'Acpi-Namespace.tunables.limit': 120,
            'Acpi-Namespace.tunables.batchcount': 60,
            'Acpi-Namespace.tunables.sharedfactor': 8,
            'Acpi-Namespace.slabdata.active_slabs': 13,
            'Acpi-Namespace.slabdata.num_slabs': 13,
            'Acpi-Namespace.slabdata.sharedavail': 0,
            'delayacct_cache.active_objs': 1026,
            'delayacct_cache.num_objs': 1534,
            'delayacct_cache.objsize': 64,
            'delayacct_cache.objperslab': 59,
            'delayacct_cache.pagesperslab': 1,
            'delayacct_cache.tunables.limit': 120,
            'delayacct_cache.tunables.batchcount': 60,
            'delayacct_cache.tunables.sharedfactor': 8,
            'delayacct_cache.slabdata.active_slabs': 26,
            'delayacct_cache.slabdata.num_slabs': 26,
            'delayacct_cache.slabdata.sharedavail': 24,
            'taskstats_cache.active_objs': 313,
            'taskstats_cache.num_objs': 318,
            'taskstats_cache.objsize': 72,
            'taskstats_cache.objperslab': 53,
            'taskstats_cache.pagesperslab': 1,
            'taskstats_cache.tunables.limit': 120,
            'taskstats_cache.tunables.batchcount': 60,
            'taskstats_cache.tunables.sharedfactor': 8,
            'taskstats_cache.slabdata.active_slabs': 6,
            'taskstats_cache.slabdata.num_slabs': 6,
            'taskstats_cache.slabdata.sharedavail': 17,
            'proc_inode_cache.active_objs': 2162,
            'proc_inode_cache.num_objs': 2868,
            'proc_inode_cache.objsize': 592,
            'proc_inode_cache.objperslab': 6,
            'proc_inode_cache.pagesperslab': 1,
            'proc_inode_cache.tunables.limit': 54,
            'proc_inode_cache.tunables.batchcount': 27,
            'proc_inode_cache.tunables.sharedfactor': 8,
            'proc_inode_cache.slabdata.active_slabs': 478,
            'proc_inode_cache.slabdata.num_slabs': 478,
            'proc_inode_cache.slabdata.sharedavail': 24,
            'sigqueue.active_objs': 278,
            'sigqueue.num_objs': 288,
            'sigqueue.objsize': 160,
            'sigqueue.objperslab': 24,
            'sigqueue.pagesperslab': 1,
            'sigqueue.tunables.limit': 120,
            'sigqueue.tunables.batchcount': 60,
            'sigqueue.tunables.sharedfactor': 8,
            'sigqueue.slabdata.active_slabs': 12,
            'sigqueue.slabdata.num_slabs': 12,
            'sigqueue.slabdata.sharedavail': 25,
            'radix_tree_node.active_objs': 29455,
            'radix_tree_node.num_objs': 34006,
            'radix_tree_node.objsize': 536,
            'radix_tree_node.objperslab': 7,
            'radix_tree_node.pagesperslab': 1,
            'radix_tree_node.tunables.limit': 54,
            'radix_tree_node.tunables.batchcount': 27,
            'radix_tree_node.tunables.sharedfactor': 8,
            'radix_tree_node.slabdata.active_slabs': 4858,
            'radix_tree_node.slabdata.num_slabs': 4858,
            'radix_tree_node.slabdata.sharedavail': 0,
            'bdev_cache.active_objs': 22,
            'bdev_cache.num_objs': 28,
            'bdev_cache.objsize': 832,
            'bdev_cache.objperslab': 4,
            'bdev_cache.pagesperslab': 1,
            'bdev_cache.tunables.limit': 54,
            'bdev_cache.tunables.batchcount': 27,
            'bdev_cache.tunables.sharedfactor': 8,
            'bdev_cache.slabdata.active_slabs': 7,
            'bdev_cache.slabdata.num_slabs': 7,
            'bdev_cache.slabdata.sharedavail': 0,
            'sysfs_dir_cache.active_objs': 9096,
            'sysfs_dir_cache.num_objs': 9328,
            'sysfs_dir_cache.objsize': 88,
            'sysfs_dir_cache.objperslab': 44,
            'sysfs_dir_cache.pagesperslab': 1,
            'sysfs_dir_cache.tunables.limit': 120,
            'sysfs_dir_cache.tunables.batchcount': 60,
            'sysfs_dir_cache.tunables.sharedfactor': 8,
            'sysfs_dir_cache.slabdata.active_slabs': 212,
            'sysfs_dir_cache.slabdata.num_slabs': 212,
            'sysfs_dir_cache.slabdata.sharedavail': 0,
            'mnt_cache.active_objs': 28,
            'mnt_cache.num_objs': 75,
            'mnt_cache.objsize': 256,
            'mnt_cache.objperslab': 15,
            'mnt_cache.pagesperslab': 1,
            'mnt_cache.tunables.limit': 120,
            'mnt_cache.tunables.batchcount': 60,
            'mnt_cache.tunables.sharedfactor': 8,
            'mnt_cache.slabdata.active_slabs': 5,
            'mnt_cache.slabdata.num_slabs': 5,
            'mnt_cache.slabdata.sharedavail': 0,
            'inode_cache.active_objs': 2138,
            'inode_cache.num_objs': 2142,
            'inode_cache.objsize': 560,
            'inode_cache.objperslab': 7,
            'inode_cache.pagesperslab': 1,
            'inode_cache.tunables.limit': 54,
            'inode_cache.tunables.batchcount': 27,
            'inode_cache.tunables.sharedfactor': 8,
            'inode_cache.slabdata.active_slabs': 306,
            'inode_cache.slabdata.num_slabs': 306,
            'inode_cache.slabdata.sharedavail': 20,
            'dentry_cache.active_objs': 37161,
            'dentry_cache.num_objs': 40626,
            'dentry_cache.objsize': 216,
            'dentry_cache.objperslab': 18,
            'dentry_cache.pagesperslab': 1,
            'dentry_cache.tunables.limit': 120,
            'dentry_cache.tunables.batchcount': 60,
            'dentry_cache.tunables.sharedfactor': 8,
            'dentry_cache.slabdata.active_slabs': 2257,
            'dentry_cache.slabdata.num_slabs': 2257,
            'dentry_cache.slabdata.sharedavail': 24,
            'filp.active_objs': 1833,
            'filp.num_objs': 2325,
            'filp.objsize': 256,
            'filp.objperslab': 15,
            'filp.pagesperslab': 1,
            'filp.tunables.limit': 120,
            'filp.tunables.batchcount': 60,
            'filp.tunables.sharedfactor': 8,
            'filp.slabdata.active_slabs': 155,
            'filp.slabdata.num_slabs': 155,
            'filp.slabdata.sharedavail': 28,
            'names_cache.active_objs': 137,
            'names_cache.num_objs': 137,
            'names_cache.objsize': 4096,
            'names_cache.objperslab': 1,
            'names_cache.pagesperslab': 1,
            'names_cache.tunables.limit': 24,
            'names_cache.tunables.batchcount': 12,
            'names_cache.tunables.sharedfactor': 8,
            'names_cache.slabdata.active_slabs': 137,
            'names_cache.slabdata.num_slabs': 137,
            'names_cache.slabdata.sharedavail': 14,
            'avc_node.active_objs': 14,
            'avc_node.num_objs': 106,
            'avc_node.objsize': 72,
            'avc_node.objperslab': 53,
            'avc_node.pagesperslab': 1,
            'avc_node.tunables.limit': 120,
            'avc_node.tunables.batchcount': 60,
            'avc_node.tunables.sharedfactor': 8,
            'avc_node.slabdata.active_slabs': 2,
            'avc_node.slabdata.num_slabs': 2,
            'avc_node.slabdata.sharedavail': 0,
            'selinux_inode_security.active_objs': 1691,
            'selinux_inode_security.num_objs': 2112,
            'selinux_inode_security.objsize': 80,
            'selinux_inode_security.objperslab': 48,
            'selinux_inode_security.pagesperslab': 1,
            'selinux_inode_security.tunables.limit': 120,
            'selinux_inode_security.tunables.batchcount': 60,
            'selinux_inode_security.tunables.sharedfactor': 8,
            'selinux_inode_security.slabdata.active_slabs': 44,
            'selinux_inode_security.slabdata.num_slabs': 44,
            'selinux_inode_security.slabdata.sharedavail': 0,
            'key_jar.active_objs': 63,
            'key_jar.num_objs': 100,
            'key_jar.objsize': 192,
            'key_jar.objperslab': 20,
            'key_jar.pagesperslab': 1,
            'key_jar.tunables.limit': 120,
            'key_jar.tunables.batchcount': 60,
            'key_jar.tunables.sharedfactor': 8,
            'key_jar.slabdata.active_slabs': 5,
            'key_jar.slabdata.num_slabs': 5,
            'key_jar.slabdata.sharedavail': 2,
            'idr_layer_cache.active_objs': 94,
            'idr_layer_cache.num_objs': 105,
            'idr_layer_cache.objsize': 528,
            'idr_layer_cache.objperslab': 7,
            'idr_layer_cache.pagesperslab': 1,
            'idr_layer_cache.tunables.limit': 54,
            'idr_layer_cache.tunables.batchcount': 27,
            'idr_layer_cache.tunables.sharedfactor': 8,
            'idr_layer_cache.slabdata.active_slabs': 15,
            'idr_layer_cache.slabdata.num_slabs': 15,
            'idr_layer_cache.slabdata.sharedavail': 0,
            'buffer_head.active_objs': 840272,
            'buffer_head.num_objs': 976760,
            'buffer_head.objsize': 96,
            'buffer_head.objperslab': 40,
            'buffer_head.pagesperslab': 1,
            'buffer_head.tunables.limit': 120,
            'buffer_head.tunables.batchcount': 60,
            'buffer_head.tunables.sharedfactor': 8,
            'buffer_head.slabdata.active_slabs': 24419,
            'buffer_head.slabdata.num_slabs': 24419,
            'buffer_head.slabdata.sharedavail': 487,
            'mm_struct.active_objs': 238,
            'mm_struct.num_objs': 240,
            'mm_struct.objsize': 896,
            'mm_struct.objperslab': 4,
            'mm_struct.pagesperslab': 1,
            'mm_struct.tunables.limit': 54,
            'mm_struct.tunables.batchcount': 27,
            'mm_struct.tunables.sharedfactor': 8,
            'mm_struct.slabdata.active_slabs': 60,
            'mm_struct.slabdata.num_slabs': 60,
            'mm_struct.slabdata.sharedavail': 22,
            'vm_area_struct.active_objs': 3329,
            'vm_area_struct.num_objs': 6182,
            'vm_area_struct.objsize': 176,
            'vm_area_struct.objperslab': 22,
            'vm_area_struct.pagesperslab': 1,
            'vm_area_struct.tunables.limit': 120,
            'vm_area_struct.tunables.batchcount': 60,
            'vm_area_struct.tunables.sharedfactor': 8,
            'vm_area_struct.slabdata.active_slabs': 281,
            'vm_area_struct.slabdata.num_slabs': 281,
            'vm_area_struct.slabdata.sharedavail': 199,
            'fs_cache.active_objs': 453,
            'fs_cache.num_objs': 649,
            'fs_cache.objsize': 64,
            'fs_cache.objperslab': 59,
            'fs_cache.pagesperslab': 1,
            'fs_cache.tunables.limit': 120,
            'fs_cache.tunables.batchcount': 60,
            'fs_cache.tunables.sharedfactor': 8,
            'fs_cache.slabdata.active_slabs': 11,
            'fs_cache.slabdata.num_slabs': 11,
            'fs_cache.slabdata.sharedavail': 20,
            'files_cache.active_objs': 253,
            'files_cache.num_objs': 265,
            'files_cache.objsize': 768,
            'files_cache.objperslab': 5,
            'files_cache.pagesperslab': 1,
            'files_cache.tunables.limit': 54,
            'files_cache.tunables.batchcount': 27,
            'files_cache.tunables.sharedfactor': 8,
            'files_cache.slabdata.active_slabs': 53,
            'files_cache.slabdata.num_slabs': 53,
            'files_cache.slabdata.sharedavail': 20,
            'signal_cache.active_objs': 598,
            'signal_cache.num_objs': 621,
            'signal_cache.objsize': 832,
            'signal_cache.objperslab': 9,
            'signal_cache.pagesperslab': 2,
            'signal_cache.tunables.limit': 54,
            'signal_cache.tunables.batchcount': 27,
            'signal_cache.tunables.sharedfactor': 8,
            'signal_cache.slabdata.active_slabs': 69,
            'signal_cache.slabdata.num_slabs': 69,
            'signal_cache.slabdata.sharedavail': 0,
            'sighand_cache.active_objs': 524,
            'sighand_cache.num_objs': 528,
            'sighand_cache.objsize': 2112,
            'sighand_cache.objperslab': 3,
            'sighand_cache.pagesperslab': 2,
            'sighand_cache.tunables.limit': 24,
            'sighand_cache.tunables.batchcount': 12,
            'sighand_cache.tunables.sharedfactor': 8,
            'sighand_cache.slabdata.active_slabs': 176,
            'sighand_cache.slabdata.num_slabs': 176,
            'sighand_cache.slabdata.sharedavail': 12,
            'task_struct.active_objs': 616,
            'task_struct.num_objs': 620,
            'task_struct.objsize': 1888,
            'task_struct.objperslab': 2,
            'task_struct.pagesperslab': 1,
            'task_struct.tunables.limit': 24,
            'task_struct.tunables.batchcount': 12,
            'task_struct.tunables.sharedfactor': 8,
            'task_struct.slabdata.active_slabs': 310,
            'task_struct.slabdata.num_slabs': 310,
            'task_struct.slabdata.sharedavail': 36,
            'anon_vma.active_objs': 1469,
            'anon_vma.num_objs': 3168,
            'anon_vma.objsize': 24,
            'anon_vma.objperslab': 144,
            'anon_vma.pagesperslab': 1,
            'anon_vma.tunables.limit': 120,
            'anon_vma.tunables.batchcount': 60,
            'anon_vma.tunables.sharedfactor': 8,
            'anon_vma.slabdata.active_slabs': 22,
            'anon_vma.slabdata.num_slabs': 22,
            'anon_vma.slabdata.sharedavail': 12,
            'pid.active_objs': 1007,
            'pid.num_objs': 1593,
            'pid.objsize': 64,
            'pid.objperslab': 59,
            'pid.pagesperslab': 1,
            'pid.tunables.limit': 120,
            'pid.tunables.batchcount': 60,
            'pid.tunables.sharedfactor': 8,
            'pid.slabdata.active_slabs': 27,
            'pid.slabdata.num_slabs': 27,
            'pid.slabdata.sharedavail': 24,
            'shared_policy_node.active_objs': 0,
            'shared_policy_node.num_objs': 0,
            'shared_policy_node.objsize': 48,
            'shared_policy_node.objperslab': 77,
            'shared_policy_node.pagesperslab': 1,
            'shared_policy_node.tunables.limit': 120,
            'shared_policy_node.tunables.batchcount': 60,
            'shared_policy_node.tunables.sharedfactor': 8,
            'shared_policy_node.slabdata.active_slabs': 0,
            'shared_policy_node.slabdata.num_slabs': 0,
            'shared_policy_node.slabdata.sharedavail': 0,
            'numa_policy.active_objs': 314,
            'numa_policy.num_objs': 864,
            'numa_policy.objsize': 24,
            'numa_policy.objperslab': 144,
            'numa_policy.pagesperslab': 1,
            'numa_policy.tunables.limit': 120,
            'numa_policy.tunables.batchcount': 60,
            'numa_policy.tunables.sharedfactor': 8,
            'numa_policy.slabdata.active_slabs': 6,
            'numa_policy.slabdata.num_slabs': 6,
            'numa_policy.slabdata.sharedavail': 0,
            'size-131072(DMA).active_objs': 0,
            'size-131072(DMA).num_objs': 0,
            'size-131072(DMA).objsize': 131072,
            'size-131072(DMA).objperslab': 1,
            'size-131072(DMA).pagesperslab': 32,
            'size-131072(DMA).tunables.limit': 8,
            'size-131072(DMA).tunables.batchcount': 4,
            'size-131072(DMA).tunables.sharedfactor': 0,
            'size-131072(DMA).slabdata.active_slabs': 0,
            'size-131072(DMA).slabdata.num_slabs': 0,
            'size-131072(DMA).slabdata.sharedavail': 0,
            'size-131072.active_objs': 2,
            'size-131072.num_objs': 2,
            'size-131072.objsize': 131072,
            'size-131072.objperslab': 1,
            'size-131072.pagesperslab': 32,
            'size-131072.tunables.limit': 8,
            'size-131072.tunables.batchcount': 4,
            'size-131072.tunables.sharedfactor': 0,
            'size-131072.slabdata.active_slabs': 2,
            'size-131072.slabdata.num_slabs': 2,
            'size-131072.slabdata.sharedavail': 0,
            'size-65536(DMA).active_objs': 0,
            'size-65536(DMA).num_objs': 0,
            'size-65536(DMA).objsize': 65536,
            'size-65536(DMA).objperslab': 1,
            'size-65536(DMA).pagesperslab': 16,
            'size-65536(DMA).tunables.limit': 8,
            'size-65536(DMA).tunables.batchcount': 4,
            'size-65536(DMA).tunables.sharedfactor': 0,
            'size-65536(DMA).slabdata.active_slabs': 0,
            'size-65536(DMA).slabdata.num_slabs': 0,
            'size-65536(DMA).slabdata.sharedavail': 0,
            'size-65536.active_objs': 0,
            'size-65536.num_objs': 0,
            'size-65536.objsize': 65536,
            'size-65536.objperslab': 1,
            'size-65536.pagesperslab': 16,
            'size-65536.tunables.limit': 8,
            'size-65536.tunables.batchcount': 4,
            'size-65536.tunables.sharedfactor': 0,
            'size-65536.slabdata.active_slabs': 0,
            'size-65536.slabdata.num_slabs': 0,
            'size-65536.slabdata.sharedavail': 0,
            'size-32768(DMA).active_objs': 0,
            'size-32768(DMA).num_objs': 0,
            'size-32768(DMA).objsize': 32768,
            'size-32768(DMA).objperslab': 1,
            'size-32768(DMA).pagesperslab': 8,
            'size-32768(DMA).tunables.limit': 8,
            'size-32768(DMA).tunables.batchcount': 4,
            'size-32768(DMA).tunables.sharedfactor': 0,
            'size-32768(DMA).slabdata.active_slabs': 0,
            'size-32768(DMA).slabdata.num_slabs': 0,
            'size-32768(DMA).slabdata.sharedavail': 0,
            'size-32768.active_objs': 4,
            'size-32768.num_objs': 4,
            'size-32768.objsize': 32768,
            'size-32768.objperslab': 1,
            'size-32768.pagesperslab': 8,
            'size-32768.tunables.limit': 8,
            'size-32768.tunables.batchcount': 4,
            'size-32768.tunables.sharedfactor': 0,
            'size-32768.slabdata.active_slabs': 4,
            'size-32768.slabdata.num_slabs': 4,
            'size-32768.slabdata.sharedavail': 0,
            'size-16384(DMA).active_objs': 0,
            'size-16384(DMA).num_objs': 0,
            'size-16384(DMA).objsize': 16384,
            'size-16384(DMA).objperslab': 1,
            'size-16384(DMA).pagesperslab': 4,
            'size-16384(DMA).tunables.limit': 8,
            'size-16384(DMA).tunables.batchcount': 4,
            'size-16384(DMA).tunables.sharedfactor': 0,
            'size-16384(DMA).slabdata.active_slabs': 0,
            'size-16384(DMA).slabdata.num_slabs': 0,
            'size-16384(DMA).slabdata.sharedavail': 0,
            'size-16384.active_objs': 37,
            'size-16384.num_objs': 37,
            'size-16384.objsize': 16384,
            'size-16384.objperslab': 1,
            'size-16384.pagesperslab': 4,
            'size-16384.tunables.limit': 8,
            'size-16384.tunables.batchcount': 4,
            'size-16384.tunables.sharedfactor': 0,
            'size-16384.slabdata.active_slabs': 37,
            'size-16384.slabdata.num_slabs': 37,
            'size-16384.slabdata.sharedavail': 0,
            'size-8192(DMA).active_objs': 0,
            'size-8192(DMA).num_objs': 0,
            'size-8192(DMA).objsize': 8192,
            'size-8192(DMA).objperslab': 1,
            'size-8192(DMA).pagesperslab': 2,
            'size-8192(DMA).tunables.limit': 8,
            'size-8192(DMA).tunables.batchcount': 4,
            'size-8192(DMA).tunables.sharedfactor': 0,
            'size-8192(DMA).slabdata.active_slabs': 0,
            'size-8192(DMA).slabdata.num_slabs': 0,
            'size-8192(DMA).slabdata.sharedavail': 0,
            'size-8192.active_objs': 21,
            'size-8192.num_objs': 21,
            'size-8192.objsize': 8192,
            'size-8192.objperslab': 1,
            'size-8192.pagesperslab': 2,
            'size-8192.tunables.limit': 8,
            'size-8192.tunables.batchcount': 4,
            'size-8192.tunables.sharedfactor': 0,
            'size-8192.slabdata.active_slabs': 21,
            'size-8192.slabdata.num_slabs': 21,
            'size-8192.slabdata.sharedavail': 0,
            'size-4096(DMA).active_objs': 0,
            'size-4096(DMA).num_objs': 0,
            'size-4096(DMA).objsize': 4096,
            'size-4096(DMA).objperslab': 1,
            'size-4096(DMA).pagesperslab': 1,
            'size-4096(DMA).tunables.limit': 24,
            'size-4096(DMA).tunables.batchcount': 12,
            'size-4096(DMA).tunables.sharedfactor': 8,
            'size-4096(DMA).slabdata.active_slabs': 0,
            'size-4096(DMA).slabdata.num_slabs': 0,
            'size-4096(DMA).slabdata.sharedavail': 0,
            'size-4096.active_objs': 421,
            'size-4096.num_objs': 421,
            'size-4096.objsize': 4096,
            'size-4096.objperslab': 1,
            'size-4096.pagesperslab': 1,
            'size-4096.tunables.limit': 24,
            'size-4096.tunables.batchcount': 12,
            'size-4096.tunables.sharedfactor': 8,
            'size-4096.slabdata.active_slabs': 421,
            'size-4096.slabdata.num_slabs': 421,
            'size-4096.slabdata.sharedavail': 0,
            'size-2048(DMA).active_objs': 0,
            'size-2048(DMA).num_objs': 0,
            'size-2048(DMA).objsize': 2048,
            'size-2048(DMA).objperslab': 2,
            'size-2048(DMA).pagesperslab': 1,
            'size-2048(DMA).tunables.limit': 24,
            'size-2048(DMA).tunables.batchcount': 12,
            'size-2048(DMA).tunables.sharedfactor': 8,
            'size-2048(DMA).slabdata.active_slabs': 0,
            'size-2048(DMA).slabdata.num_slabs': 0,
            'size-2048(DMA).slabdata.sharedavail': 0,
            'size-2048.active_objs': 3265,
            'size-2048.num_objs': 3276,
            'size-2048.objsize': 2048,
            'size-2048.objperslab': 2,
            'size-2048.pagesperslab': 1,
            'size-2048.tunables.limit': 24,
            'size-2048.tunables.batchcount': 12,
            'size-2048.tunables.sharedfactor': 8,
            'size-2048.slabdata.active_slabs': 1638,
            'size-2048.slabdata.num_slabs': 1638,
            'size-2048.slabdata.sharedavail': 32,
            'size-1024(DMA).active_objs': 0,
            'size-1024(DMA).num_objs': 0,
            'size-1024(DMA).objsize': 1024,
            'size-1024(DMA).objperslab': 4,
            'size-1024(DMA).pagesperslab': 1,
            'size-1024(DMA).tunables.limit': 54,
            'size-1024(DMA).tunables.batchcount': 27,
            'size-1024(DMA).tunables.sharedfactor': 8,
            'size-1024(DMA).slabdata.active_slabs': 0,
            'size-1024(DMA).slabdata.num_slabs': 0,
            'size-1024(DMA).slabdata.sharedavail': 0,
            'size-1024.active_objs': 2838,
            'size-1024.num_objs': 2844,
            'size-1024.objsize': 1024,
            'size-1024.objperslab': 4,
            'size-1024.pagesperslab': 1,
            'size-1024.tunables.limit': 54,
            'size-1024.tunables.batchcount': 27,
            'size-1024.tunables.sharedfactor': 8,
            'size-1024.slabdata.active_slabs': 711,
            'size-1024.slabdata.num_slabs': 711,
            'size-1024.slabdata.sharedavail': 14,
            'size-512(DMA).active_objs': 0,
            'size-512(DMA).num_objs': 0,
            'size-512(DMA).objsize': 512,
            'size-512(DMA).objperslab': 8,
            'size-512(DMA).pagesperslab': 1,
            'size-512(DMA).tunables.limit': 54,
            'size-512(DMA).tunables.batchcount': 27,
            'size-512(DMA).tunables.sharedfactor': 8,
            'size-512(DMA).slabdata.active_slabs': 0,
            'size-512(DMA).slabdata.num_slabs': 0,
            'size-512(DMA).slabdata.sharedavail': 0,
            'size-512.active_objs': 1836,
            'size-512.num_objs': 1872,
            'size-512.objsize': 512,
            'size-512.objperslab': 8,
            'size-512.pagesperslab': 1,
            'size-512.tunables.limit': 54,
            'size-512.tunables.batchcount': 27,
            'size-512.tunables.sharedfactor': 8,
            'size-512.slabdata.active_slabs': 234,
            'size-512.slabdata.num_slabs': 234,
            'size-512.slabdata.sharedavail': 32,
            'size-256(DMA).active_objs': 0,
            'size-256(DMA).num_objs': 0,
            'size-256(DMA).objsize': 256,
            'size-256(DMA).objperslab': 15,
            'size-256(DMA).pagesperslab': 1,
            'size-256(DMA).tunables.limit': 120,
            'size-256(DMA).tunables.batchcount': 60,
            'size-256(DMA).tunables.sharedfactor': 8,
            'size-256(DMA).slabdata.active_slabs': 0,
            'size-256(DMA).slabdata.num_slabs': 0,
            'size-256(DMA).slabdata.sharedavail': 0,
            'size-256.active_objs': 2844,
            'size-256.num_objs': 2985,
            'size-256.objsize': 256,
            'size-256.objperslab': 15,
            'size-256.pagesperslab': 1,
            'size-256.tunables.limit': 120,
            'size-256.tunables.batchcount': 60,
            'size-256.tunables.sharedfactor': 8,
            'size-256.slabdata.active_slabs': 199,
            'size-256.slabdata.num_slabs': 199,
            'size-256.slabdata.sharedavail': 1,
            'size-128(DMA).active_objs': 0,
            'size-128(DMA).num_objs': 0,
            'size-128(DMA).objsize': 128,
            'size-128(DMA).objperslab': 30,
            'size-128(DMA).pagesperslab': 1,
            'size-128(DMA).tunables.limit': 120,
            'size-128(DMA).tunables.batchcount': 60,
            'size-128(DMA).tunables.sharedfactor': 8,
            'size-128(DMA).slabdata.active_slabs': 0,
            'size-128(DMA).slabdata.num_slabs': 0,
            'size-128(DMA).slabdata.sharedavail': 0,
            'size-64(DMA).active_objs': 0,
            'size-64(DMA).num_objs': 0,
            'size-64(DMA).objsize': 64,
            'size-64(DMA).objperslab': 59,
            'size-64(DMA).pagesperslab': 1,
            'size-64(DMA).tunables.limit': 120,
            'size-64(DMA).tunables.batchcount': 60,
            'size-64(DMA).tunables.sharedfactor': 8,
            'size-64(DMA).slabdata.active_slabs': 0,
            'size-64(DMA).slabdata.num_slabs': 0,
            'size-64(DMA).slabdata.sharedavail': 0,
            'size-64.active_objs': 8143,
            'size-64.num_objs': 12508,
            'size-64.objsize': 64,
            'size-64.objperslab': 59,
            'size-64.pagesperslab': 1,
            'size-64.tunables.limit': 120,
            'size-64.tunables.batchcount': 60,
            'size-64.tunables.sharedfactor': 8,
            'size-64.slabdata.active_slabs': 212,
            'size-64.slabdata.num_slabs': 212,
            'size-64.slabdata.sharedavail': 33,
            'size-32(DMA).active_objs': 0,
            'size-32(DMA).num_objs': 0,
            'size-32(DMA).objsize': 32,
            'size-32(DMA).objperslab': 112,
            'size-32(DMA).pagesperslab': 1,
            'size-32(DMA).tunables.limit': 120,
            'size-32(DMA).tunables.batchcount': 60,
            'size-32(DMA).tunables.sharedfactor': 8,
            'size-32(DMA).slabdata.active_slabs': 0,
            'size-32(DMA).slabdata.num_slabs': 0,
            'size-32(DMA).slabdata.sharedavail': 0,
            'size-128.active_objs': 27752,
            'size-128.num_objs': 27990,
            'size-128.objsize': 128,
            'size-128.objperslab': 30,
            'size-128.pagesperslab': 1,
            'size-128.tunables.limit': 120,
            'size-128.tunables.batchcount': 60,
            'size-128.tunables.sharedfactor': 8,
            'size-128.slabdata.active_slabs': 933,
            'size-128.slabdata.num_slabs': 933,
            'size-128.slabdata.sharedavail': 29,
            'size-32.active_objs': 3927,
            'size-32.num_objs': 4256,
            'size-32.objsize': 32,
            'size-32.objperslab': 112,
            'size-32.pagesperslab': 1,
            'size-32.tunables.limit': 120,
            'size-32.tunables.batchcount': 60,
            'size-32.tunables.sharedfactor': 8,
            'size-32.slabdata.active_slabs': 38,
            'size-32.slabdata.num_slabs': 38,
            'size-32.slabdata.sharedavail': 2,
            'kmem_cache.active_objs': 155,
            'kmem_cache.num_objs': 155,
            'kmem_cache.objsize': 2688,
            'kmem_cache.objperslab': 1,
            'kmem_cache.pagesperslab': 1,
            'kmem_cache.tunables.limit': 24,
            'kmem_cache.tunables.batchcount': 12,
            'kmem_cache.tunables.sharedfactor': 8,
            'kmem_cache.slabdata.active_slabs': 155,
            'kmem_cache.slabdata.num_slabs': 155,
            'kmem_cache.slabdata.sharedavail': 0,
        }

        self.setDocExample(collector=self.collector.__class__.__name__,
                           metrics=metrics,
                           defaultpath=self.collector.config['path'])
        self.assertPublishedMany(publish_mock, metrics)

################################################################################
if __name__ == "__main__":
    unittest.main()
