code: def semid(broker):
          
          source = broker[DefaultSpecs.ipcs_s].content
          results = set()
          for s in source:
              s_splits = s.split()
              # key        semid      owner      perms      nsems
              # 0x00000000 65536      apache     600        1
              if len(s_splits) == 5 and s_splits[1].isdigit():
                  results.add(s_splits[1])
          return results
docs: Command: semids