search for: startup_tim

Displaying 3 results from an estimated 3 matches for "startup_tim".

Did you mean: startup_time
2018 Aug 31
2
Detecting whether a process exists or not by its PID?
...evel I would probably consider some watchdog, e.g. the parallel > tasks would be repeatedly touching a file. I am pretty sure that there are simpler and better solutions. E.g. one would be to ask the worker process for its startup time (with as much precision as possible) and then use the (pid, startup_time) pair as a unique id. With this you can check if the process is still running, by checking that the pid exists, and that its startup time matches. This is all very simple with the ps package, on Linux, macOS and Windows. Gabor > In base R, one can do this correctly for forked processes via...
2018 Aug 31
0
Detecting whether a process exists or not by its PID?
...onsider some watchdog, e.g. the parallel >> tasks would be repeatedly touching a file. > I am pretty sure that there are simpler and better solutions. E.g. one > would be to > ask the worker process for its startup time (with as much precision as possible) > and then use the (pid, startup_time) pair as a unique id. > > With this you can check if the process is still running, by checking > that the pid exists, > and that its startup time matches. > > This is all very simple with the ps package, on Linux, macOS and Windows. > > Gabor > >> In base R, one ca...
2018 Aug 30
3
Detecting whether a process exists or not by its PID?
Hi, I'd like to test whether a (localhost) PSOCK cluster node is still running or not by its PID, e.g. it may have crashed / core dumped. I'm ok with getting false-positive results due to *another* process with the same PID has since started. I can the PID of each cluster nodes by querying them for their Sys.getpid(), e.g. pids <- parallel::clusterEvalQ(cl, Sys.getpid()) Is there