code: def apply_lsadmin(fn):
      
      cmd = ["lsadmin", "showconf", "lim"]
      try:
          output = subprocess.check_output(cmd).decode('utf-8')
      except:
          return None
      return fn(output.split("\n"))
docs: apply fn to each line of lsadmin, returning the result