#41 closed enhancement (fixed)
we need a function returning the activity of a process
Reported by: | imendez | Owned by: | rcsoto |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Math | Version: | head |
Severity: | minor | Keywords: | |
Cc: |
Description
Frequently, we run processes with a number of subprocesses, such as football
probability simulations or model estimates and forecasts.
If one of these processes becomes died, we can´t know it. At this moment, we can
load in the data base the pid of each process, and kill the process we want to. But
it's not possible to know if a process is alive or died, in order to relaunch it.
The function could be similar to WinRmtKill:
Real WinRmtProcessAlive(Text ip, Text port, Real pid)
and it could return:
-1 if the remote server is not active or the comunication can´t be established;
0 if the process does not exist;
1 if the process has been killed.
Change History (5)
comment:1 Changed 21 years ago by
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
Owner: | changed from danirus to rcsoto |
---|---|
Status: | assigned → new |
comment:3 Changed 21 years ago by
Status: | new → assigned |
---|
This studying the request.
In the next hours an answer will occur.
comment:4 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added the WinRmtProcessAlive function.
Another possibility for the future, it is to obtain the list of all the active processes
of a computer.
comment:5 Changed 18 years ago by
bug_file_loc: | → http://www.tol-project.org |
---|
The program WRCMD and their API are mantained by R.C.Soto and Manuel B.
They could find a fast solution for this bug.