# How can I get the count and details of Vision clients open from script?

**URL:** <https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194>\
**Category:** Ignition\
**Created:** [October 20, 2021, 11:19pm UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194 "2021-10-20T23:19:48Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 20, 2021, 11:19pm UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/1 "2021-10-20T23:19:48Z")

</div>

I’m basically looking to get the detail that’s available on the gateway webpage for number of Vision clients open, similarly to the Perspective `system.perspective.getSessionInfo()`.

There are no system functions that I can find, so I’m thinking this might be an IA rep question with calls to internal API functions?

Cheers!

FYI: We would like to track the average client usage over time and correlate that with server CPU and memory usage to pre-empt performance issues and tackle them before they become an issue.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 20, 2021, 11:40pm UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/2 "2021-10-20T23:40:31Z")

</div>

Something like this you mean?

[https://docs.inductiveautomation.com/display/DOC81/system.util.getSessionInfo](https://docs.inductiveautomation.com/display/DOC81/system.util.getSessionInfo)

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 20, 2021, 11:42pm UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/3 "2021-10-20T23:42:00Z")

</div>

Derpy derp derp. Yes, something exactly like that 🙄

I should have looked harder! Thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 21, 2021, 12:47am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/4 "2021-10-21T00:47:32Z")

</div>

> [@nminchin](#):
>
> Derpy derp derp.

You sound like my son. And make me feel terribly old. Just how young are you? (My son is old enough to have given me two grandchildren.... )

-- No need to actually answer that. /:

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [October 21, 2021, 1:00am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/5 "2021-10-21T01:00:45Z")

</div>

1. Or is it 35? I can’t remember anymore I’m so OLD 😁

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [October 21, 2021, 8:58am UTC](https://forum.inductiveautomation.com/t/how-can-i-get-the-count-and-details-of-vision-clients-open-from-script/52194/6 "2021-10-21T08:58:39Z")

</div>

I gotta do the maths every time and im ten years younger xd No point to remember a number that changes overtime xd
