Commands for work

Below are the basic commands for managing the agent through the terminal.

Action

Team

Agent installation

sudo bash /path_to_agent/agent-install-version.sh install

Installing an agent with changing hwid (available from version 0.12.34-august)

sudo bash /path_to_agent/agent-install-0.12.34-august.sh install --hwid new_hwid

Launching the agent

sudo /usr/share/ibatyr/agent start

Agent stop

sudo /usr/share/ibatyr/agent stop

Use the command to debug the agent. Stopping the agent completely is only possible when the agent is deleted. To restore access to the full functionality of the agent after stopping, restart the operating system.

Restarting the agent

sudo /usr/share/ibatyr/agent restart

Agent process PID

sudo /usr/share/ibatyr/agent status

Agent information

sudo /usr/share/ibatyr/agent info

Removing an agent

sudo /usr/share/ibatyr/agent uninstall

Changing agent HWID

sudo /usr/share/ibatyr/agent hwid

Current configuration

sudo /usr/share/ibatyr/agent config

Creating an archive with agent logs

sudo /usr/share/ibatyr/agent zip

Log output per day

sudo /usr/share/ibatyr/agent log

Output of logs for a month

sudo /usr/share/ibatyr/agent logs

Real time log

sudo /usr/share/ibatyr/agent tail