[% USE CGI %] [% IF SHOW_DEBUG %] [% USE Dumper %]

## main simple template variable DATA

[% Dumper.dump_html(DATA) %]

[% END %]

## [% lh.maketext('Server information') %]

[% lh.maketext('Attribute') %] | [% lh.maketext('Value') %]
--- | ---
### [% lh.maketext('Hardware') %]
[% lh.maketext('CPU') %] | [% DATA.cpu %]
[% lh.maketext('Total main memory') %] | [% DATA.mem_main_total %] [% lh.maketext('bytes') %]
[% lh.maketext('Free main memory') %] | [% DATA.mem_main_free%] [% lh.maketext('bytes') %]
[% lh.maketext('Total swap memory') %] | [% DATA.mem_swap_total %] [% lh.maketext('bytes') %]
[% lh.maketext('Free main memory') %] | [% DATA.mem_swap_free %] [% lh.maketext('bytes') %]
### [% lh.maketext('Operating system') %]
[% lh.maketext('OS name') %] | [% DATA.os_name %]
[% lh.maketext('Node name') %] | [% DATA.node_name %]
[% lh.maketext('Domain name') %] | [% DATA.domain_name %]
[% lh.maketext('IP') %] | [% DATA.ip %]
[% lh.maketext('is Linux?') %] | [% IF DATA.is_linux %][% lh.maketext('yes') %][% ELSE %][% lh.maketext('no') %][% END %]
[% lh.maketext('is BSD?') %] | [% IF DATA.is_bsd %][% lh.maketext('yes') %][% ELSE %][% lh.maketext('no') %][% END %]
[% IF DATA.up %]
[% lh.maketext('Up since') %] | [% DATA.up.up_since %]
[% lh.maketext('Up since hours') %] | [% DATA.up.up_hours %]
[% lh.maketext('Up since days') %] | [% DATA.up.up_days %]
[% lh.maketext('Up since months') %] | [% DATA.up.up_months %]
[% END %]
### [% lh.maketext('Services') %]
[% lh.maketext('httpd') %] | [% DATA.httpd %]
### [% lh.maketext('File system') %]
[% IF DATA.disks_ar %]
[% lh.maketext('mount') %] | [% lh.maketext('avail') %] | [% lh.maketext('total') %] | [% lh.maketext('used') %] | [% lh.maketext('device') %]
[% FOREACH d = DATA.diskfree %]
[% d.device_mount %] | [% d.device_avail %] | [% d.device_total %] | [% d.device_used %] | [% d.device_id %]
[% END %] [% END %]