(hostname, pidStack)
| 234 | raise |
| 235 | |
| 236 | def sigkill_remote_process(hostname, pidStack): |
| 237 | |
| 238 | while ( len(pidStack) > 0 ): |
| 239 | pid = pidStack.pop() |
| 240 | cmdStr = "ssh " + hostname + " 'kill -9 " + pid + "'" |
| 241 | |
| 242 | try: |
| 243 | logger.debug("executing command [" + cmdStr + "]", extra=d) |
| 244 | sys_call_return_subproc(cmdStr) |
| 245 | except: |
| 246 | print "WARN - pid:",pid,"not found" |
| 247 | raise |
| 248 | |
| 249 | def simulate_garbage_collection_pause_in_remote_process(hostname, pidStack, pauseTimeInSeconds): |
| 250 | pausedPidStack = [] |
nothing calls this directly
no test coverage detected