I lost a matlab session through ssh, but it's still running. How can I pull data out?

2 vues (au cours des 30 derniers jours)
Wade
Wade le 14 Jan 2013
I have been using matlab on a remote node through the terminal only. I didn't have any screens open (matlab -nosplash -nodisplay).
I sent an m-file to chug away for a couple hours, and when I came back to check on it, my ssh session had been interrupted. The problem was likely due to an internet hiccup on my end, and when I ssh back to the node, I can see matlab is still running under my username. How can I access that session?
What I really need is the contents of a few of the variables generated by that m-file. Can I access those data? Please help!

Réponses (1)

Daniel Shub
Daniel Shub le 14 Jan 2013
It really depends on what the process is doing. Usually the process should get killed when your ssh session end. You might be able to reconnect, but it is more likely that it is a zombie process. If the future you might want to use screen:

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by