(infile)
| 167 | return returnValue |
| 168 | |
| 169 | def get_json_dict_data(infile): |
| 170 | json_file_str = open(infile, "r").read() |
| 171 | json_data = json.loads(json_file_str) |
| 172 | data_dict = {} |
| 173 | |
| 174 | for key,val in json_data.items(): |
| 175 | if ( type(val) != list ): |
| 176 | data_dict[key] = val |
| 177 | |
| 178 | return data_dict |
| 179 | |
| 180 | def get_remote_child_processes(hostname, pid): |
| 181 | pidStack = [] |