# Cpu usage and reboot

**URL:** <https://forum.mikrotik.com/t/cpu-usage-and-reboot/36350>\
**Category:** Scripting\
**Created:** [March 22, 2010, 3:42pm UTC](https://forum.mikrotik.com/t/cpu-usage-and-reboot/36350 "2010-03-22T15:42:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bax](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/bax/32/65_2.png) [@bax](https://forum.mikrotik.com/u/bax)\
**Post date:** [March 22, 2010, 3:42pm UTC](https://forum.mikrotik.com/t/cpu-usage-and-reboot/36350/1 "2010-03-22T15:42:03Z")

</div>

I have one specific problem with my RB450 … it was have 2-3 times in day high cpu usage (100 %) . When is this usage high it will stop transfers almost 30 minutes , and then watchguad reboot router. For now I have script for simply reboot every 12 hours and this is not enough. How can I make some script which will monitor CPU usage , and if is going let say 95 % then reboot router ?

---

<div class="post-metadata">

**Author:** ![bax](https://forum.mikrotik.com/user_avatar/forum.mikrotik.com/bax/32/65_2.png) [@bax](https://forum.mikrotik.com/u/bax)\
**Post date:** [March 22, 2010, 3:55pm UTC](https://forum.mikrotik.com/t/cpu-usage-and-reboot/36350/2 "2010-03-22T15:55:40Z")

</div>

Sorry Im find script here [http://forum.mikrotik.com/t/a-script-to-calculate-average-cpu-load/20573/3](http://forum.mikrotik.com/t/a-script-to-calculate-average-cpu-load/20573/3)
