Work Commands

Listed below are the commands to control an agent via the terminal.

Action

Command

Install agent

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

Install agent with HWID change
from version 0.12.34-august

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

Start agent

sudo /usr/share/staff/agent start

Stop agent

sudo /usr/share/staff/agent stop

Used for debugging.
The only way to completely disable an agent is to delete it.
To restore full agent functionality after it was stopped, restart the computer.

Restart agent

sudo /usr/share/staff/agent restart

Agent PID

sudo /usr/share/staff/agent status

Agent information

sudo /usr/share/staff/agent info

Delete agent

sudo /usr/share/staff/agent uninstall

Change agent HWID

sudo /usr/share/staff/agent hwid

Current configuration

sudo /usr/share/staff/agent config

Create archive
with agent logs

sudo /usr/share/staff/agent zip

Daily log output

sudo /usr/share/staff/agent log

Monthly log output

sudo /usr/share/staff/agent logs

Real-time log

sudo /usr/share/staff/agent tail