I lost a matlab session through ssh, but it's still running. How can I pull data out?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Daniel Shub
2013 年 1 月 14 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Whos についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!