# \[IGN-5597\]How to trend Perspective Sessions on a memory tag?

**URL:** <https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 4, 2026, 2:47pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315 "2026-03-04T14:47:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.huggins](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@justin.huggins](https://forum.inductiveautomation.com/u/justin.huggins)\
**Post date:** [March 4, 2026, 2:47pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315/1 "2026-03-04T14:47:08Z")

</div>

We are currently trying to size our front-ends and load balancers based on active sessions. Really need a way to historize the perspective sessions of users. How do I accomplish this task?

---

<div class="post-metadata">

**Author:** ![justin.huggins](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@justin.huggins](https://forum.inductiveautomation.com/u/justin.huggins)\
**Post date:** [March 4, 2026, 3:35pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315/2 "2026-03-04T15:35:43Z")

</div>

Well, I figured it out. Just in case anyone else needs this info.

```python
sessions = system.perspective.getSessionInfo()
tagPaths = ['tagpath to integer memory tag']
sessionslist = []
for users in sessions:
    sessionlist = users
    sessionslist.append(sessionlist)
count = len(sessionslist)
system.tag.writeBlocking(tagPaths, count)

```

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 4, 2026, 3:45pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315/3 "2026-03-04T15:45:10Z")

</div>

Umm...if you are looking for the session count generally then just do

```python
len(system.perspective.getSessionInfo())

```

---

<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:** [March 4, 2026, 4:57pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315/4 "2026-03-04T16:57:31Z")

</div>

If you have the EAM module, there's also a system tag automatically available.

Don't ask me why this particular thing requires the EAM module.

> **[EAM System Tags​ - System Tags | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/platform/tags/types-of-tags/system-tags#eam-system-tags)**
>
> System tags provide status about the Ignition system, such as memory usage, performance metrics, and so on. System tags cannot be deleted or modified. To view the System tags in the Tag Browser, go to the Tag Provider Selector and select System.

---

<div class="post-metadata">

**Author:** ![justin.huggins](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@justin.huggins](https://forum.inductiveautomation.com/u/justin.huggins)\
**Post date:** [March 5, 2026, 4:34pm UTC](https://forum.inductiveautomation.com/t/ign-5597-how-to-trend-perspective-sessions-on-a-memory-tag/114315/5 "2026-03-05T16:34:26Z")

</div>

Ah wow! This is way easier, may just reference to this tag instead. Thanks!
