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 Connectedto get the following output:
> Connected to someserver [xxx.xxx.xxx.xxx:4661] with HighIDI would like to have something:
% amulecmd -P somepassword --pingAmule 2.0.0 is alive on 192.168.1.8 and is connected to someserver [xxx.xxx.xxx.xxx:4661] with HighIDwithout 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. :)