linux - Probing running python process for information -


i've created python (and c, "controlling" part python) program carrying out bayesian inversion using markov chain monte carlo methods. unfortunately, mcmc can take several days run. part of research in reducing time, can reduce much.

i'm running on headless centos 7 machine using nohup since maintaining connection , receiving prints several days not practical. however, able check in on program see how many iterations it's done, how many proposals have been accepted, whether it's out of burn-in, etc.

is there can use interact python process info?

i recommend saws (scientific application web server). creates thread in process handle http request. variables of interest returned client in json format .

for variables managed python runtime, write them (json) file on harddisk (or shared memory) , use simplehttpserver serve it. saws web interface on client side can still used long follow json format of saws.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -