- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
This page covers Agent 5 commands. Datadog recommends installing or upgrading to Agent 7 for the latest features. For information on installing the latest version of the Agent, follow the Agent 7 Installation Instructions. For information on upgrading to Agent 7 from an earlier version, see Upgrade to Datadog Agent v7.
Note: If the service
wrapper is not available on your system, use:
upstart
-based systems: sudo start/stop/restart/status datadog-agent
systemd
-based systems: sudo systemctl start/stop/restart/status datadog-agent
List of commands to start the Datadog Agent:
Platform | Command |
---|---|
Linux | sudo service datadog-agent start |
Docker | See the Docker Agent documentation. |
macOS | /usr/local/bin/datadog-agent start |
Source | sudo ~/.datadog-agent/bin/agent start |
Windows | See Windows commands. |
List of commands to stop the Datadog Agent:
Platform | Command |
---|---|
Linux | sudo service datadog-agent stop |
Docker | See the Docker Agent documentation. |
macOS | /usr/local/bin/datadog-agent stop |
Source | sudo ~/.datadog-agent/bin/agent stop |
Windows | See Windows commands. |
List of commands to restart the Datadog Agent:
Platform | Command |
---|---|
Linux | sudo service datadog-agent restart |
Docker | See the Docker Agent documentation. |
macOS | /usr/local/bin/datadog-agent restart |
Source | sudo ~/.datadog-agent/bin/agent restart |
Windows | See Windows commands. |
List of commands to display the status of the Datadog Agent:
Platform | Command |
---|---|
Linux | sudo service datadog-agent status |
Docker (Debian) | sudo docker exec -it <CONTAINER_NAME> /etc/init.d/datadog-agent status |
Kubernetes | kubectl exec -it <POD_NAME> -- /etc/init.d/datadog-agent status |
macOS | datadog-agent status |
Source | sudo ~/.datadog-agent/bin/agent status |
Windows | See Windows commands. |
List of commands to display the status of your Datadog Agent and enabled integrations.
Platform | Command |
---|---|
Linux | sudo service datadog-agent info |
Docker | sudo docker exec -it <CONTAINER_NAME> /etc/init.d/datadog-agent info |
Kubernetes | kubectl exec -it <POD_NAME> -- /etc/init.d/datadog-agent info |
macOS | datadog-agent info |
Source | sudo ~/.datadog-agent/bin/info |
Windows | See Windows commands. |
A properly configured integration is displayed under Checks with no warnings or errors, as seen below:
Checks
======
network
-------
- instance #0 [OK]
- Collected 15 metrics, 0 events & 1 service check
To verify the Agent is running, check if the service status in the Services panel is listed as “Started”. A process called ddagent.exe
should also exist in the Task Manager.
Information about the Agent’s state for Agent v5.2+ is available in the Datadog Agent Manager -> Settings -> Agent Status:
For the status of Agent v3.9.1 to v5.1, navigate to http://localhost:17125/status
.
The info command is available for PowerShell:
& "$env:ProgramFiles\Datadog\Datadog Agent\embedded<PYTHON_MAJOR_VERSION>\python.exe" "$env:ProgramFiles\Datadog\Datadog Agent\agent\agent.py" info
or cmd.exe:
"%ProgramFiles%\Datadog\Datadog Agent\embedded<PYTHON_MAJOR_VERSION>\python.exe" "%ProgramFiles%\Datadog\Datadog Agent\agent\agent.py" info
Use the Datadog Agent Manager (available from the start menu).
Use the start
, stop
, and restart
commands in the Datadog Agent Manager:
You can also use Windows PowerShell, where available:
[start|stop|restart]-service datadogagent