# Dynatrace OneAgent Service Status | Stop | Start | Restart

**URL:** <https://community.dynatrace.com/t/dynatrace-oneagent-service-status-stop-start-restart/36781>\
**Category:** Open Q&A\
**Tags:** aix, oneagent\
**Created:** [October 4, 2022, 10:05pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-service-status-stop-start-restart/36781 "2022-10-04T22:05:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDS](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@JDS](https://community.dynatrace.com/u/JDS)\
**Post date:** [October 4, 2022, 10:05pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-service-status-stop-start-restart/36781/1 "2022-10-04T22:05:53Z")

</div>

Hello - Is there a command to get the status of Dynatrace OneAgent on AIX servers?

Looking for the OneAgent service commands for AIX machines which can be used with configuration management tools like Puppet or Ansible to&nbsp;stop, start & get the status of OneAgent on AIX servers. Below commands are for Windows & Linux servers. Looking similar commands for AIX which can be used with the configuration management tools.

Windows [PowerShell Command]:

OneAgent Service Status - Get-Service “Dynatrace OneAgent” | select name, displayname, status  
OneAgent Service Start - net start “Dynatrace OneAgent”  
OneAgent Service Stop - net stop “Dynatrace OneAgent”

Linux:

OneAgent Service Status - systemctl status oneagent | service oneagent status  
OneAgent Service Start - systemctl start oneagent | service oneagent start  
OneAgent Service Stop - systemctl stop oneagent | service oneagent stop

Best Regards,

Jeffery

---

<div class="post-metadata">

**Author:** ![DanielS](https://avatars.discourse-cdn.com/v4/letter/d/3ab097/32.png) [@DanielS](https://community.dynatrace.com/u/DanielS)\
**Post date:** [October 4, 2022, 10:23pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-service-status-stop-start-restart/36781/2 "2022-10-04T22:23:44Z")

</div>

Hi&nbsp;[@JDS](https://community.dynatrace.com/user/49244)&nbsp;the&nbsp;&nbsp;oneagent service script for AIX is located in&nbsp;\<INSTALL\_PATH\>/agent/initscripts/ &nbsp; I leave you the short link to the documentation.

> **[Stop/restart OneAgent on AIX](https://docs.dynatrace.com/docs/ingest-from/dynatrace-oneagent/installation-and-operation/aix/operation/stop-restart-oneagent-on-aix)**
>
> Learn how to stop and restart OneAgent on AIX.

Hope it helps.

---

<div class="post-metadata">

**Author:** ![JDS](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@JDS](https://community.dynatrace.com/u/JDS)\
**Post date:** [October 11, 2022, 2:14pm UTC](https://community.dynatrace.com/t/dynatrace-oneagent-service-status-stop-start-restart/36781/3 "2022-10-11T14:14:27Z")

</div>

Thanks&nbsp;[@DanielS](https://community.dynatrace.com/user/35788).&nbsp;This was really helpful.
