I am running a large job. It has been going for more than a week. I had the foresight to pickle off some of its state every once in a while, but I would like access to a particular list that I neglected to periodically pickle.
If I end execution of the program, I will lose the state of this list. If I rewrite my script to also pickle the list, then that does me no good, since I would have to restart from scratch and lose access to my existing variables.
Ctrl+z
can pause a program, and fg
will resume the job. Is there a way to examine the paused state or gain access to the memory space of the process, running or paused?