特殊:Badtitle/NS100:FoldingAtHome/ManualInstall:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第11行: | 第11行: | ||
There are more options that can be added once you have the client running smoothly. Learning the meaning and use of flags passed to the client at startup can aid in increasing your production. [http://folding.stanford.edu/English/Guide#ntoc4 See this guide list] for references showing all possible flags or parameters that can be passed to the Linux client at startup. | There are more options that can be added once you have the client running smoothly. Learning the meaning and use of flags passed to the client at startup can aid in increasing your production. [http://folding.stanford.edu/English/Guide#ntoc4 See this guide list] for references showing all possible flags or parameters that can be passed to the Linux client at startup. | ||
=== Running the Client From the Startup Applications Menu === | === Running the Client From the Startup Applications Menu === | ||
First, create a short shell script to start your client with the objective of automatically starting the client when you log onto your account. Here is | First, create a short shell script (using gedit or nano) to start your client with the eventual objective of automatically starting the client when you log onto your account. For this example the script is in the user's home folder and the folding@home client directory is named ''fah''. Here is another example of a script that starts the client from the home directory, but you'll be presented the option of running it (when accessing the file via nautilus) in a terminal window or just running the process completely in the background when double-clicking the script or highlighting it and pressing ''enter''. | ||
<pre><nowiki>#!bash | <pre><nowiki>#!bash | ||
#!/bin/bash | #!/bin/bash | ||
第17行: | 第17行: | ||
./fah6 -smp 4 -verbosity 9 | ./fah6 -smp 4 -verbosity 9 | ||
</nowiki></pre> | </nowiki></pre> | ||
---- | |||
https://help.ubuntu.com/community/FoldingAtHome/ManualInstall?action=AttachFile&do=get&target=RunScriptDialog.png | |||
''Fig. This is the dialog seen after double-clicking a script'' | |||
''IMPORTANT: If you use this particular script and leave the terminal window open, go to the terminal window and use "ctrl-c" to properly shut down the client before restarting or shutting down Linux. If the folding client core does not shut down properly, you will loose SSE, 3Dnow, etc. instruction enhancements until the work unit concludes unless you intervene with the -forceasm flag. That is something that should be done sparingly, and only if you know why core shutdown was improper.'' | |||
---- | |||
Once you have created your script, give it the name of your choosing and use chmod to make it executable. | |||
The flag -smp 4 indicates that this is a four core/thread processor and can use them simultaneously on one job. The second, -verbosity 9, indicates the client should output at maximum for close monitoring of the process. These units progress rapidly on a quad-core CPU. On a high performance machine, it is helpful to know what impacts performance. Close monitoring of the terminal window and use of System Monitor provide clues when there is a negative impact on performance. | The flag -smp 4 indicates that this is a four core/thread processor and can use them simultaneously on one job. The second, -verbosity 9, indicates the client should output at maximum for close monitoring of the process. These units progress rapidly on a quad-core CPU. On a high performance machine, it is helpful to know what impacts performance. Close monitoring of the terminal window and use of System Monitor provide clues when there is a negative impact on performance. | ||
The second step is to start the client automatically when logging into a Gnome session. In Ubuntu, this is quite easy. Under the '''System''' menu select '''Preferences''', then '''Startup Applications'''. Click the ''+Add'' button. For ''name'' put something that accurately identifies the process, such as "Start F@H Client." For ''command'' put | The second step is to start the client automatically when logging into a Gnome session. In Ubuntu, this is quite easy. Under the '''System''' menu select '''Preferences''', then '''Startup Applications'''. Click the ''+Add'' button. For ''name'' put something that accurately identifies the process, such as "Start F@H Client." For ''command'' put | ||
第24行: | 第29行: | ||
</nowiki></pre> | </nowiki></pre> | ||
where ''scriptname'' is the actual name of your script. This way the client will start when you you log into a Gnome session. You will still get a terminal window for your client, but you can logout, shut down or restart without needing to think about your Folding@Home client becuase it is now running as a service. It will shut down its processes properly without intervention. But you also have the flexibility to stop the client just by closing the terminal window or striking "ctrl-c" with the terminal window in the foreground focus. | where ''scriptname'' is the actual name of your script. This way the client will start when you you log into a Gnome session. You will still get a terminal window for your client, but you can logout, shut down or restart without needing to think about your Folding@Home client becuase it is now running as a service. It will shut down its processes properly without intervention. But you also have the flexibility to stop the client just by closing the terminal window or striking "ctrl-c" with the terminal window in the foreground focus. | ||
https://help.ubuntu.com/community/FoldingAtHome/ManualInstall?action=AttachFile&do=get&target=StartPrefs.png | |||
Finally, if you do not wish to have a terminal window open just use your script (''./scriptname'') for your ''command''. | |||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2010年5月19日 (三) 22:24的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/FoldingAtHome/ManualInstall }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/af | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Afrikaans| [[::FoldingAtHome/ManualInstall/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ar | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|العربية| [[::FoldingAtHome/ManualInstall/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/az | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|azərbaycanca| [[::FoldingAtHome/ManualInstall/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/bcc | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|جهلسری بلوچی| [[::FoldingAtHome/ManualInstall/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/bg | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|български| [[::FoldingAtHome/ManualInstall/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/br | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|brezhoneg| [[::FoldingAtHome/ManualInstall/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ca | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|català| [[::FoldingAtHome/ManualInstall/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/cs | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|čeština| [[::FoldingAtHome/ManualInstall/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/de | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Deutsch| [[::FoldingAtHome/ManualInstall/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/el | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Ελληνικά| [[::FoldingAtHome/ManualInstall/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/es | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|español| [[::FoldingAtHome/ManualInstall/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/fa | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|فارسی| [[::FoldingAtHome/ManualInstall/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/fi | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|suomi| [[::FoldingAtHome/ManualInstall/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/fr | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|français| [[::FoldingAtHome/ManualInstall/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/gu | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|ગુજરાતી| [[::FoldingAtHome/ManualInstall/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/he | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|עברית| [[::FoldingAtHome/ManualInstall/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/hu | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|magyar| [[::FoldingAtHome/ManualInstall/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/id | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Bahasa Indonesia| [[::FoldingAtHome/ManualInstall/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/it | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|italiano| [[::FoldingAtHome/ManualInstall/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ja | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|日本語| [[::FoldingAtHome/ManualInstall/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ko | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|한국어| [[::FoldingAtHome/ManualInstall/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ksh | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Ripoarisch| [[::FoldingAtHome/ManualInstall/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/mr | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|मराठी| [[::FoldingAtHome/ManualInstall/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ms | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Bahasa Melayu| [[::FoldingAtHome/ManualInstall/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/nl | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Nederlands| [[::FoldingAtHome/ManualInstall/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/no | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|norsk| [[::FoldingAtHome/ManualInstall/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/oc | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|occitan| [[::FoldingAtHome/ManualInstall/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/pl | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|polski| [[::FoldingAtHome/ManualInstall/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/pt | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|português| [[::FoldingAtHome/ManualInstall/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ro | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|română| [[::FoldingAtHome/ManualInstall/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/ru | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|русский| [[::FoldingAtHome/ManualInstall/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/si | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|සිංහල| [[::FoldingAtHome/ManualInstall/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/sq | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|shqip| [[::FoldingAtHome/ManualInstall/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/sr | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|српски / srpski| [[::FoldingAtHome/ManualInstall/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/sv | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|svenska| [[::FoldingAtHome/ManualInstall/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/th | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|ไทย| [[::FoldingAtHome/ManualInstall/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/tr | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Türkçe| [[::FoldingAtHome/ManualInstall/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/vi | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|Tiếng Việt| [[::FoldingAtHome/ManualInstall/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/yue | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|粵語| [[::FoldingAtHome/ManualInstall/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/zh | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|中文| [[::FoldingAtHome/ManualInstall/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/zh-hans | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|中文(简体)| [[::FoldingAtHome/ManualInstall/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:FoldingAtHome/ManualInstall | UbuntuHelp:FoldingAtHome/ManualInstall | {{#if: | :}}FoldingAtHome/ManualInstall}}/zh-hant | • {{#if: UbuntuHelp:FoldingAtHome/ManualInstall|中文(繁體)| [[::FoldingAtHome/ManualInstall/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:FoldingAtHome/ManualInstall|:FoldingAtHome/ManualInstall|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :FoldingAtHome/ManualInstall/zh | | {{#ifexist: FoldingAtHome/ManualInstall/zh | | {{#ifeq: {{#titleparts:FoldingAtHome/ManualInstall|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:FoldingAtHome/ManualInstall|1|-1|}} | zh | | }}
Installing and Running the client manually
Get the client from http://folding.stanford.edu/download.html, save it to some directory (you will want to make one specifically for F@H, because it makes a bunch of files), and run it. The trouble is, you need to start it by hand. But once you have your startup routine perfected, you can automatically run the client at login if you do not want other users responsible for starting and/or monitoring the Folding@Home client. Say you put it in `$HOME/foldingathome`. Then to start it, you may want to use
cd $HOME/foldingathome (exec fah5 >& /dev/null &)
You must run the client from its directory, since it always looks for files in the current directory (and creates them if they do not exist). The parentheses fork a new shell, the exec replaces the new shell process with the client (not strictly necessary), the redirect suppresses output, and the ampersand puts the process into the background. This all means you can safely close the terminal after starting the client this way. There are more options that can be added once you have the client running smoothly. Learning the meaning and use of flags passed to the client at startup can aid in increasing your production. See this guide list for references showing all possible flags or parameters that can be passed to the Linux client at startup.
Running the Client From the Startup Applications Menu
First, create a short shell script (using gedit or nano) to start your client with the eventual objective of automatically starting the client when you log onto your account. For this example the script is in the user's home folder and the folding@home client directory is named fah. Here is another example of a script that starts the client from the home directory, but you'll be presented the option of running it (when accessing the file via nautilus) in a terminal window or just running the process completely in the background when double-clicking the script or highlighting it and pressing enter.
#!bash #!/bin/bash cd fah ./fah6 -smp 4 -verbosity 9
Fig. This is the dialog seen after double-clicking a script IMPORTANT: If you use this particular script and leave the terminal window open, go to the terminal window and use "ctrl-c" to properly shut down the client before restarting or shutting down Linux. If the folding client core does not shut down properly, you will loose SSE, 3Dnow, etc. instruction enhancements until the work unit concludes unless you intervene with the -forceasm flag. That is something that should be done sparingly, and only if you know why core shutdown was improper.
Once you have created your script, give it the name of your choosing and use chmod to make it executable. The flag -smp 4 indicates that this is a four core/thread processor and can use them simultaneously on one job. The second, -verbosity 9, indicates the client should output at maximum for close monitoring of the process. These units progress rapidly on a quad-core CPU. On a high performance machine, it is helpful to know what impacts performance. Close monitoring of the terminal window and use of System Monitor provide clues when there is a negative impact on performance. The second step is to start the client automatically when logging into a Gnome session. In Ubuntu, this is quite easy. Under the System menu select Preferences, then Startup Applications. Click the +Add button. For name put something that accurately identifies the process, such as "Start F@H Client." For command put
/usr/bin/gnome-terminal --command ./scriptname
where scriptname is the actual name of your script. This way the client will start when you you log into a Gnome session. You will still get a terminal window for your client, but you can logout, shut down or restart without needing to think about your Folding@Home client becuase it is now running as a service. It will shut down its processes properly without intervention. But you also have the flexibility to stop the client just by closing the terminal window or striking "ctrl-c" with the terminal window in the foreground focus. Finally, if you do not wish to have a terminal window open just use your script (./scriptname) for your command.