AMC Quick Guide - aerospike-community/amc GitHub Wiki
Common tasks
There are many common tasks that you may need to do. The following commands work for either edition of the AMC.
Starting/Stopping the AMC server - Linux without systemd
To start the AMC:
sudo /etc/init.d/amc start
To stop the AMC server:
sudo /etc/init.d/amc stop
To restart the AMC server:
sudo /etc/init.d/amc restart
To see whether or not the AMC server is up:
sudo /etc/init.d/amc status
Should you have any problem with the AMC, you can check the error logs in /var/log/amc/error.log
.
Starting/Stopping the AMC server - Linux with systemd
To start the AMC:
sudo systemctl start amc
To stop the AMC server:
sudo systemctl stop amc
To restart the AMC server:
sudo systemctl restart amc
To see whether or not the AMC server is up:
sudo systemctl status amc
Should you have any problem with the AMC, you can check the error logs in /var/log/amc/error.log
.
Starting/Stopping the AMC server version 4.0 or later - Mac OS X
To start the AMC:
sudo launchctl load -w /Library/LaunchAgents/com.aerospike.amc.plist
To stop the AMC server:
sudo launchctl unload /Library/LaunchAgents/com.aerospike.amc.plist
To see whether or not the AMC server is up:
sudo launchctl list | grep aerospike
Should you have any problem with the AMC, you can check the error logs in /Library/amc/amc.txt
.