def get_rel_readme_path(p):
    if os.path.isfile(p):
        p = os.path.dirname(p)
        
    for fname, ext in product(["README", "ReadMe", "Readme", "readme"],
                              ['', '.txt', '.md']):
        
        fpath = os.path.join(p, fname+ext)
        if os.path.isfile(fpath):
            return fpath
Stops collectd on the VM, fetches CSV results.
dataset/ETHPy150Open kashefy/nideep/nideep/eval/log_utils.py/get_rel_readme_path--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/traces/collectd.py/_CollectdCollector._FetchResults