Jump to content
Sign in to follow this  
mantonr

Running Fah In Background On Linux

Recommended Posts

I have a server at home that I can access via SSH and want to start folding on it.

 

I can obviously run folding through an ssh session, but once I close that SSH session the folding stops. Is there a way for me to run the folding programme without it ending when I end the SSH session that I used to start it up?

 

Thanks for any help in advance

Share this post


Link to post
Share on other sites

This can be accomplished via a virtual terminal or terminal emulator.

$cd /path/to/[email protected]/

$./fahclientname &

 

That is more or less it; the ampersand puts a process in the background. You can place the background process in foreground by executing the following:

 

$fg (provided “fah” is the only process in the background) -or-

$fg %# (if more than one process is running in background)

 

Tips

 

(1) Use the “jobs” command to check for background processes. Something similar to the following will be displayed.

 

$jobs

[5]+ Running ./path/to/[email protected]/fahclientname &

 

(2) I recommend creating a script that accesses the proper “[email protected]” directory and executes the client.

(3) Executing "tail -f /path/to/[email protected]/FAHlog.txt &" will display the progress of your client.

 

Hope this helps ^_^

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...