Agent Commands
Reference for the linuxguard-agent command-line interface — start, stop, status, show-config, enroll, and unenroll commands.
Last updated
Was this helpful?
Was this helpful?
sudo linuxguard-agent stopsudo linuxguard-agent status$ sudo linuxguard-agent status
linuxguard-agent is running with PID: 1234$ sudo linuxguard-agent status
linuxguard-agent is not runninglinuxguard-agent show-config$ linuxguard-agent show-config
{
"tenant_id": "tenant_abc123",
"api_key": "ak_***",
"endpoint": "https://api.linuxguard.io/v1/",
"environment": "production",
"tags": ["web-server", "us-east"]
}sudo linuxguard-agent enroll --api-key=<API_KEY> --tenant-id=<TENANT_ID> [OPTIONS]sudo linuxguard-agent enroll --api-key=ak_xxx --tenant-id=tenant_xxxsudo linuxguard-agent enroll \
--api-key=ak_xxx \
--tenant-id=tenant_xxx \
--environment=production \
--tag=web-server \
--tag=us-east>> Sending initial snapshot...
>> Initial snapshot sent successfully
>> Successfully enrolled to LinuxGuard Endpoint: https://api.linuxguard.io/v1/This server has been enrolled since Mon, 01 Feb 2026 12:00:00 UTCsudo linuxguard-agent unenroll