aMule Forum
English => Feature requests => Topic started by: sovking on May 04, 2005, 08:07:09 PM
-
It would be useful to have some tool to test if amuled is alive:
right now is possible to isse the command:
% amulecmd -P somepassword -c "Stats" | grep Connected
to get the following output:
> Connected to someserver [xxx.xxx.xxx.xxx:4661] with HighID
I would like to have something:
% amulecmd -P somepassword --ping
Amule 2.0.0 is alive on 192.168.1.8 and is connected to someserver [xxx.xxx.xxx.xxx:4661] with HighID
without any other output, and returning:
- 0 if amuled is alive and connected
- 1 if amuled is alive and disconnected
- -1 if amuled is dead (not responding)
This command it would be useful to implement watchdogs and start/stop scripts for amuled. :)
-
Seems to be easy.