{% extends "layout.html" %} {% set active_page = "info" %} {% block title %} - {{_('Info')}}{% endblock %} {% block body %}
{% include 'flash_messages.html' %}
{{_('Mycodo Version:')}} {{mycodo_version}}
{{_('Database Version')}}: {%- for each_ver in database_version %} {%- if each_ver != '' %}{{each_ver}} {%- else %}None {% endif %} {% endfor %}
{{_('Daemon Status')}}:  {%- if daemon_status == "alive" %}{{_('Running')}} {%- else %}{{_('Not Running')}} {% endif %} {% if daemon_up %}
{{_('Daemon Process ID')}}: {{daemon_pid}}
{{_('Daemon RAM Usage')}}: {{ram_use_daemon}} MB
{{_('Daemon Virtualenv')}}:  {%- if virtualenv_daemon -%}{{_('Yes')}} {%- else -%}{{_('No')}} {%- endif -%} {% endif %}
{{_('Frontend RAM Usage')}}: {{ram_use_flask}} MB
{{_('Frontend Virtualenv')}}:  {%- if virtualenv_flask -%}{{_('Yes')}} {%- else -%}{{_('No')}} {%- endif -%}
uptime
{{uptime}}
uname
{{uname}}
gpio readall
{%- if gpio_readall != "" -%}
{{gpio_readall}}
{%- else -%} {{_('Command "gpio" not found. Install gpio from the terminal with the following commands')}}:
cd && git clone git://git.drogon.net/wiringPi && cd wiringPi && ./build
{%- endif -%}
df -h
{{df}}
free -h
{{free}}
ifconfig -a
{{ifconfig}}
{% if daemon_up %}
pstree -p {{daemon_pid}} (daemon and threads)
{{pstree}}
top -b -H -n 1 -p {{daemon_pid}} (daemon and threads)
{{top}}
{% endif %}
{% endblock %}