Files
librenms-librenms/html/includes/graphs/device/processor.inc.php
T

14 lines
330 B
PHP
Raw Normal View History

2011-04-26 16:05:56 +00:00
<?php
2011-04-22 15:13:15 +00:00
$device = device_by_id_cache($id);
2011-05-13 13:27:54 +00:00
$procs = dbFetchRows("SELECT * FROM `processors` where `device_id` = ?", array($id));
2011-04-22 15:13:15 +00:00
if($config['os'][$device['os']]['processor_stacked'] == 1)
{
include("includes/graphs/device/processor_stack.inc.php");
} else {
include("includes/graphs/device/processor_separate.inc.php");
2011-04-22 15:13:15 +00:00
}
?>