Files
librenms-librenms/html/includes/graphs/device/processor.inc.php
T
2011-05-13 13:27:54 +00:00

14 lines
330 B
PHP

<?php
$device = device_by_id_cache($id);
$procs = dbFetchRows("SELECT * FROM `processors` where `device_id` = ?", array($id));
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");
}
?>