FAH Control Client "Folding Power"
Moderators: Site Moderators, FAHC Science Team
FAH Control Client "Folding Power"
Hi.
Im wondering if ther is a way to define the "Folding Power" in the FAH-Client via Commandline?
As I want to use the FAH-Client om all my work computers, but usealy forget to increase the "Folding Power" when I leave.
Would love an option to send "FAHClient.exe/FAHControl.exe" and the switch "/OFF /IL /I /L /M /FULL" indicating the "Folding Power".
Thanks for your responce!
Im wondering if ther is a way to define the "Folding Power" in the FAH-Client via Commandline?
As I want to use the FAH-Client om all my work computers, but usealy forget to increase the "Folding Power" when I leave.
Would love an option to send "FAHClient.exe/FAHControl.exe" and the switch "/OFF /IL /I /L /M /FULL" indicating the "Folding Power".
Thanks for your responce!
-
- Posts: 2948
- Joined: Sun Dec 02, 2007 4:36 am
- Hardware configuration: Machine #1:
Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).
Machine #2:
Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.
Machine 3:
Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32
I am currently folding just on the 5x GTX 460's for aprox. 70K PPD - Location: Salem. OR USA
Re: FAH Control Client "Folding Power"
You can remotely access the client using telnet or you can configure the client for remote access and control it from another client. Of course you would need to poke appropriate holes into your firewall and router.
See: https://fah-web.stanford.edu/projects/F ... eInterface
See: https://fah-web.stanford.edu/projects/F ... eInterface
-
- Site Moderator
- Posts: 6986
- Joined: Wed Dec 23, 2009 9:33 am
- Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB
Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400 - Location: Land Of The Long White Cloud
- Contact:
Re: FAH Control Client "Folding Power"
Welcome to the F@H Forum Aelneri,
Please note that if you don't own the work systems, you will need written permission from the system owner to run F@H on it as per the EULA (http://folding.stanford.edu/home/License/).
Please note that if you don't own the work systems, you will need written permission from the system owner to run F@H on it as per the EULA (http://folding.stanford.edu/home/License/).
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Re: FAH Control Client "Folding Power"
No problem in making remote connections via Telnet through FW.P5-133XL wrote:You can remotely access the client using telnet or you can configure the client for remote access and control it from another client. Of course you would need to poke appropriate holes into your firewall and router.
See: https://fah-web.stanford.edu/projects/F ... eInterface
However, I was thinking of making it a sceduled task stopping the client at work start (08:00) and starting it at work end (16:00).
I dont know telnet that well, but can I use a command like:
telnet localhost 36330 pause
telnet localhost 36330 unpause
?
-
- Posts: 2948
- Joined: Sun Dec 02, 2007 4:36 am
- Hardware configuration: Machine #1:
Intel Q9450; 2x2GB=8GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460; Windows Server 2008 X64 (SP1).
Machine #2:
Intel Q6600; 2x2GB=4GB Ram; Gigabyte GA-X48-DS4 Motherboard; PC Power and Cooling Q750 PS; 2x GTX 460 video card; Windows 7 X64.
Machine 3:
Dell Dimension 8400, 3.2GHz P4 4x512GB Ram, Video card GTX 460, Windows 7 X32
I am currently folding just on the 5x GTX 460's for aprox. 70K PPD - Location: Salem. OR USA
Re: FAH Control Client "Folding Power"
I, having never used telnet to interface with the client do not know. However, I have no doubt, someone here will.
Re: FAH Control Client "Folding Power"
I tried using: "tlntadmn.exe localhost pause"
after reading a few telnet-guides, but it did nothing
after reading a few telnet-guides, but it did nothing
-
- Site Moderator
- Posts: 6986
- Joined: Wed Dec 23, 2009 9:33 am
- Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB
Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400 - Location: Land Of The Long White Cloud
- Contact:
Re: FAH Control Client "Folding Power"
Assuming that your computer runs Linux, this might be of use to you (viewtopic.php?p=260074#p260074).
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time
Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Re: FAH Control Client "Folding Power"
I have used the equivalent of telnet localhost 36330 to establish a connection with an active client. That command is equivalent to a logon command, establishing a connection (assuming passwords are provided or they are not required). A command line parameter such as your "pause" will not be sent nor will data be received until after the connection is established. That conversation is expected to begin on the next line.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.
-
- Posts: 80
- Joined: Sat Jul 06, 2013 4:37 pm
Re: FAH Control Client "Folding Power"
iirc, you'll need to "save" as well prior to exiting, so that the whole string looks a lot like this:
Edit: too British
Code: Select all
telnet localhost 36330
pause
save
quit
-
- Posts: 80
- Joined: Sat Jul 06, 2013 4:37 pm
Re: FAH Control Client "Folding Power"
Oh, but to the original post, your command would look likeWhere full could also be light or medium.
Code: Select all
telnet localhost 36330
options power=full
save
quit
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: FAH Control Client "Folding Power"
Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
-
- Posts: 80
- Joined: Sat Jul 06, 2013 4:37 pm
Re: FAH Control Client "Folding Power"
These may not work if you're running the FAHClient as, for example, a systemd process, and issuing the commands as a usercalxalot wrote:Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
Edit: that scenario seems unlikely, given OP mentioned a .exe file, suggesting windows
-
- Site Moderator
- Posts: 1094
- Joined: Sat Dec 08, 2007 1:33 am
- Location: San Francisco, CA
- Contact:
Re: FAH Control Client "Folding Power"
Does work, as long as client is configured to allow localhost connections. The --send commands connect to a running client. It's the same as using telnet to send one command followed by the quit command to properly close the connection.
Re: FAH Control Client "Folding Power"
Hi.
I probably should have mentioned that I do work on Windows 7x64 computers, not Linux, but I thought the ".exe" extention would give me away.
Anyways, Thank you Calxalot for giving me these commands!
They did work just as you said and does what I wanted.
TY!
I probably should have mentioned that I do work on Windows 7x64 computers, not Linux, but I thought the ".exe" extention would give me away.
Anyways, Thank you Calxalot for giving me these commands!
They did work just as you said and does what I wanted.
With these I can pause the load via a sceduled task in windows. (since I forget to do this manualy)calxalot wrote:Or just use commands like these:
FAHClient --send-pause
FAHClient --send-unpause
FAHClient --send-command 'option power full'
TY!
Re: FAH Control Client "Folding Power"
It's a good idea to mention Windows/Linux/MacOS to avoid confusion, but the same client is actually ported to all three, so almost everything within the realm of the client works the same way. Obviously terms like a systemd process or a scheduled task or a service or even an .exe are within the realm of the OS, not the client (and we do try to use the words that pertain to your installation).Aelneri wrote:I probably should have mentioned that I do work on Windows 7x64 computers, not Linux, but I thought the ".exe" extention would give me away.
Posting FAH's log:
How to provide enough info to get helpful support.
How to provide enough info to get helpful support.