1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained Server microstats, show server load in footer 1.1

Server microstats, show server load in footer only for admins

  1. dbembibre
    Compatible XF Versions:
    • 1.2
    • 1.3
    • 1.4
    • 1.5
    This is a simple add-on to show in your footer area the server load.
    This add-on only works on linux and Unix.

    You need to allow access to the virtual files /proc/loadavg in your php open_basedir.
    I have this in my vhost.conf

    <IfModule mod_php5.c>
                php_admin_flag engine on
                php_flag xcache.cacher 1
                php_flag xcache.optimizer 1
                php_admin_value open_basedir "/var/www/vhosts/site.com/httpdocs:/tmp:/proc/loadavg"
    The add-on create the template microstats_label with the following content if you need to show the server load to more people:

    <xen:if is="{$visitor.is_admin}">

    Tested in 1.2 and 1.1.5


    1. Upload the microstats folder to your XenForo library directory (validate that the Listener.php have read permissions).
    2. Import addon-microstats.xml via your Admin Control Panel.
    Captura de pantalla 2013-07-10 a la(s) 21.21.03.png

    If you want the load average in moderator bar download this update:

Recent Updates

  1. Moving Load average to moderator bar

Recent Reviews

  1. viper357
    Version: 1.1
    Works perfectly on 1.5.4. Thank you for taking the time to do make this add-on. Thank You, Thank you.