I lost a matlab session through ssh, but it's still running. How can I pull data out?
2 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
Daniel Shub
on 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:
0 Comments
See Also
Categories
Find more on Whos in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!