def METHOD_NAME():
    """function clear dmesg.
    The dmesg operation is a privileged user task.
    This function needs sudo permissions enabled on the target host
    """
    cmd = "dmesg -c"
    status = process.system(
        cmd, timeout=30, ignore_status=True, verbose=False, shell=True, sudo=True
    )
    if status:
        raise DmesgError("Unable to clear dmesg as some issue while clearing")