# Calculating Load Factor In Python

**URL:** <https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [January 23, 2020, 8:20pm UTC](https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570 "2020-01-23T20:20:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmrider](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gmrider/32/12857_2.png) [@gmrider](https://forum.inductiveautomation.com/u/gmrider)\
**Post date:** [January 23, 2020, 8:20pm UTC](https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570/1 "2020-01-23T20:20:47Z")

</div>

It seems that there are no tags available for the load factor for any certain device.

What about calculating the load factor for a device in Python?

How is the load factor calculated and what functions are available in Ignition to get the values needed for the calculation?

I would like to be able to send a warning that the load factor is over a certain percentage.

---

<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:** [January 23, 2020, 8:45pm UTC](https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570/2 "2020-01-23T20:45:06Z")

</div>

What are you referring to when you say load factor? Load on the gateway cpu/memory, the client session memory, or the client machine cpu/memory?

---

<div class="post-metadata">

**Author:** ![gmrider](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gmrider/32/12857_2.png) [@gmrider](https://forum.inductiveautomation.com/u/gmrider)\
**Post date:** [January 23, 2020, 8:47pm UTC](https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570/3 "2020-01-23T20:47:01Z")

</div>

The load factor mentioned here in the documentation when you click on device details. [https://docs.inductiveautomation.com/display/DOC80/Connections+-+Devices](https://docs.inductiveautomation.com/display/DOC80/Connections+-+Devices)

---

<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:** [January 23, 2020, 8:56pm UTC](https://forum.inductiveautomation.com/t/calculating-load-factor-in-python/31570/4 "2020-01-23T20:56:46Z")

</div>

I see, I missed the “device” part first go around. I won’t be much help on this one.
