def search_cpuinfo(processor_num, item):
    """Search for information about a given CPU."""
    cpuinfo = open('/proc/cpuinfo', 'r')
    found = False
    for line in cpuinfo:
        if line.strip():
            values = line.rstrip('\n').split(':')
            if 'processor' in values[0] and int(values[1]) == processor_num:
                found = True
            if item in values[0] and found is True:
                return values[1].replace(' ', '')
    cpuinfo.close()
    return None
