def get_sysctl(key):
    """
    Get a kernel parameter.

    Example::

        from fabtools.system import get_sysctl

        print "Max number of open files:", get_sysctl('fs.file-max')

    """
    with settings(hide('running', 'stdout')):
        return run_as_root(locals() % '/sbin/sysctl -n -e %(key)s')
dataset/ETHPy150Open ronnix/fabtools/fabtools/system.py/get_sysctl/swapped operands of `%`