Jump to content

Running Fah In Background On Linux


mantonr

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/Folding@Homeclient/

$./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/Folding@Homeclient/fahclientname &

 

(2) I recommend creating a script that accesses the proper “F@H” directory and executes the client.

(3) Executing "tail -f /path/to/Folding@Homeclient/FAHlog.txt &" will display the progress of your client.

 

Hope this helps ^_^

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...