mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
statistics2.cgi: for debugging
git-svn-id: https://svn.fhem.de/fhem/trunk@14476 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
744116c695
commit
a07e77991f
@ -64,7 +64,7 @@ my $css = "style.css";
|
|||||||
if ($ua =~ m/FHEM/) {
|
if ($ua =~ m/FHEM/) {
|
||||||
my $result = insertDB();
|
my $result = insertDB();
|
||||||
print header("application/x-www-form-urlencoded");
|
print header("application/x-www-form-urlencoded");
|
||||||
if $result {
|
if ($result) {
|
||||||
print "==> ok"
|
print "==> ok"
|
||||||
} else {
|
} else {
|
||||||
print "==> error"
|
print "==> error"
|
||||||
@ -219,11 +219,11 @@ sub viewStatistics() {
|
|||||||
$q->p( "<b>Statistics database</b><br>created: $started, updated: $updated<br>".
|
$q->p( "<b>Statistics database</b><br>created: $started, updated: $updated<br>".
|
||||||
"entries (total): $nodesTotal, entries (12 month): $nodes12<br>".
|
"entries (total): $nodesTotal, entries (12 month): $nodes12<br>".
|
||||||
"Generation time: ".sprintf("%.3f",time()-$start)." seconds"),
|
"Generation time: ".sprintf("%.3f",time()-$start)." seconds"),
|
||||||
$q->hr,
|
# $q->hr,
|
||||||
$q->p( "System info <br>". Dumper $countSystem ),
|
# $q->p( "System info <br>". Dumper $countSystem ),
|
||||||
$q->p( "GeoIP info <br>". Dumper $countGeo ),
|
# $q->p( "GeoIP info <br>". Dumper $countGeo ),
|
||||||
$q->p( "Modules info <br>". Dumper $countModules ),
|
# $q->p( "Modules info <br>". Dumper $countModules ),
|
||||||
$q->p( "Models per module info <br>". Dumper $countModels ),
|
# $q->p( "Models per module info <br>". Dumper $countModels ),
|
||||||
|
|
||||||
$q->end_html;
|
$q->end_html;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user