def METHOD_NAME(voName):
    resultQueues = Resources.getQueues(community=voName)
    if not resultQueues["OK"]:
        gLogger.error("Failed to get CE information")
        DIRACExit(-1)
    fields = ("Site", "CE", "CEType", "Queue", "Status")
    records = []
    # get list of usable sites within this cycle
    resultMask = SiteStatus().getUsableSites()
    if not resultMask["OK"]:
        return resultMask
    siteMaskList = resultMask.get("Value", [])
    rssClient = ResourceStatus()
    for site in resultQueues["Value"]:
        siteStatus = "Active" if site in siteMaskList else "InActive"
        siteNew = True
        for ce in resultQueues["Value"][site]:
            ceStatus = siteStatus
            if rssClient.rssFlag:
                result = rssClient.getElementStatus(ce, "ComputingElement")
                if result["OK"]:
                    ceStatus = result["Value"][ce]["all"]
            ceNew = True
            for queue in resultQueues["Value"][site][ce]["Queues"]:
                pSite = site if siteNew else ""
                pCE = ""
                ceType = ""
                if ceNew:
                    pCE = ce
                    ceType = resultQueues["Value"][site][ce]["CEType"]
                records.append((pSite, pCE, ceType, queue, ceStatus))
                ceNew = False
                siteNew = False
    gLogger.notice(printTable(fields, records, printOut=False, columnSeparator="  "))
    return S_OK()