# Get info for running scripts like how "gateway status / running scripts" shows them

**URL:** <https://forum.inductiveautomation.com/t/get-info-for-running-scripts-like-how-gateway-status-running-scripts-shows-them/78311>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [August 23, 2023, 10:38pm UTC](https://forum.inductiveautomation.com/t/get-info-for-running-scripts-like-how-gateway-status-running-scripts-shows-them/78311 "2023-08-23T22:38:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tmahaf](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tmahaf/32/23492_2.png) [@tmahaf](https://forum.inductiveautomation.com/u/tmahaf)\
**Post date:** [August 23, 2023, 10:38pm UTC](https://forum.inductiveautomation.com/t/get-info-for-running-scripts-like-how-gateway-status-running-scripts-shows-them/78311/1 "2023-08-23T22:38:43Z")

</div>

Has someone ever attempted to get info about a gateways running script in a format that is similar to how the gateway webpage shows.

I have a gateway that I want to be able to do certain things only if a script is actually running. I looked at the thread dumps, but those are really hard to parse.

Basically I'd like to to put in some automated based on the information that is displayed here

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/c/5c2afdad6c2821d38dcbd45b6cacb99640cb3e9e.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 23, 2023, 11:25pm UTC](https://forum.inductiveautomation.com/t/get-info-for-running-scripts-like-how-gateway-status-running-scripts-shows-them/78311/2 "2023-08-23T23:25:16Z")

</div>

> [@Creating a tag that returns the number of active scripts on a gateway](https://forum.inductiveautomation.com/t/creating-a-tag-that-returns-the-number-of-active-scripts-on-a-gateway/43181):
>
> Hi everyone, Is there a way to create a tag that would return the number of active scripts running on a server? [https://docs.inductiveautomation.com/display/DOC80/Diagnostics+-+Running+Scripts](https://docs.inductiveautomation.com/display/DOC80/Diagnostics+-+Running+Scripts) I would like to create an alarm notification if the number is greater than 0 for a sustained amount of time. Thanks!
