- Compatible XF 1.x 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
The add-on create the template microstats_label with the following content if you need to show the server load to more people:
Tested in 1.2 and 1.1.5
Installation:
If you want the load average in moderator bar download this update:
http://xenforo.com/community/resour...ver-load-in-footer.2065/download?version=5528
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
Code:
<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"
</IfModule>
The add-on create the template microstats_label with the following content if you need to show the server load to more people:
PHP:
<xen:if is="{$visitor.is_admin}">
{$serverload}
</xen:if>
Tested in 1.2 and 1.1.5
Installation:
- Upload the microstats folder to your XenForo library directory (validate that the Listener.php have read permissions).
- Import addon-microstats.xml via your Admin Control Panel.
If you want the load average in moderator bar download this update:
http://xenforo.com/community/resour...ver-load-in-footer.2065/download?version=5528