Files
librenms-librenms/html/includes/graphs/device/processor.inc.php
Adam Amstrong 7293113ee2 unretardify
git-svn-id: http://www.observium.org/svn/observer/trunk@2173 61d68cd4-352d-0410-923a-c4978735b2b8
2011-04-26 16:05:56 +00:00

14 lines
326 B
PHP

<?php
$device = device_by_id_cache($id);
$query = mysql_query("SELECT * FROM `processors` where `device_id` = '".$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");
}
?>