listing background jobs
hey all,
I am running a job in background in a remote cluster. And I rebooted my machine, I login again to the remote machine and entered "jobs", but there is no job to list, but when I "top", I can see my job is running. How can I list it now to bring it foreground. naga |
If it's started from the shell (as opposed to a process that's intended to run daemonised), then logging out and back in means the shell ditched the contents of its jobs table ('help disown') and you can't. Next time run 'screen', start the job from there in the foreground, detach screen, logout. Next time you log in and call up your existing screen session the job will be accessable if it's still running.
|
hey thanks for the reply, i will use the screen next time, but is there any way I can bring my current job to foreground !!!
|
So you didn't read the first line of my reply.
|
i read it..!! so nothing can be done to currently running job ?
|
If it's disowned, no, AFAIK not.
|
k thanks for ur reply..! i will take care in future !!
|
All times are GMT -5. The time now is 09:33 AM. |