Menu

#13 process ID

Near_Future
open
nobody
5
2002-10-15
2002-10-15
Polzin
No

It would be nice, if one could figure out the PID of a
running experiment (labrun with --batch), in case one
wants to kill the program.
Perhaps a PID of the labrun process could be enough.
But
I am not sure whether killing the labrun is enough to
kill
the process.
Figuring out the PID of the experiment could be
difficult,
if not impossible (labrun labmex runsave.py ...).
But anyway, it should be easy to guess the right PID
of the experiment from the PID of the labrun.
Idea: additional file: {basefilename}.id holds the ID
of the
parent process (hopefully you can guess the right
subprocess
from that). The file is removed after completion.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.