aMule Forum
English => aMule Help => Topic started by: PsychoChris on November 16, 2005, 03:09:19 AM
-
Hello aMule-team,
some time ago i used amulecmd to handle the bandwidth-limits but seems in my cvs-build (Snapshot: Fri Nov 4) some things have changed. Typing help in amulecmd shows that Set and Get are the commands to change or get values of amule-vars. It is said that 'SET BWLIMIT UP' should set the upload-bandwidth-limit, but typing 'SET BWLIMIT UP 10' doesn't work and outputs ''Unknown extension '10' for the 'Set BwLimit Up' command''.
How can i set and get the bandwith-values? What other values can i get and change with 'Set' and 'Get'?
Greetings,
Chris
-
Huh? I'll check it.
-
Funny, it works here.
aMulecmd$ set bwlimit up 10
> Operation was successful.
> Bandwidth Limits: Up: 10 kB/s, Down: 128 kB/s.
The only reason I can see for your problem is that wxString::ToULong() cannot convert '10' to a number -- which is unlikely.
What other values can i get and change with 'Set' and 'Get'?
Try 'help set' and 'help get' :P
-
server:~ # amulecmd --version
amulecmd CVS using wxGTK2 v2.6.2 (Snapshot: Fri Nov 4 07:02:05 CET 2005)
server:~ # amulecmd -P ******** -c "get bwlimit down"
This command should not have any parameters.
Set seems to work, but what do i do wrong with Get?
Greetings,
Chris
-
At the moment, it's called "get bwlimits" and shows both upload and download bandwidth limit.
If it's necessary, separate commands can be added for getting upload and download bandwidth limits.
-
Hello GonoszTopi,
thank you for the information! 'get bwlimits' suits my needs fully.
It would be very handy if the 'get' and 'set' commands could have access to all config-vars and should have the same var-names to access them. And even more important (at least for me) is to have more control over the downloads through amulecmd, like setting the priority for files, pausing, removing etc.
Is this planned to be implemented in near future?
Greetings & thanks,
Chris
-
Hello PsychoChris,
first of all we created the new command set because it's expansible. We plan to implement more features into amulecmd, to make it able to control almost all aspects of a running core from the command line.
I have a lot of ideas, but I'm also open for suggestions.
Greetings,
GonoszTopi.
-
Hello GonoszTopi,
sounds good, i mean 'expansible'! Like i mentioned: Very usefull would be to have more control over the files i download. So removing, changing their priority and pausing are the most needed functions. I (and hopefully not only i) would be glad to find this functions in amulecmd.
Greetings,
Chris