feature: add get_disks function (#6058)

This commit is contained in:
VVelox
2017-03-03 08:27:33 -06:00
committed by Neil Lathwood
parent 57f27fbad2
commit 6844f29217
3 changed files with 8 additions and 2 deletions

View File

@ -1472,3 +1472,9 @@ function get_oxidized_nodes_list()
</tr>";
}
}
// fetches disks for a system
function get_disks($device)
{
return dbFetchRows('SELECT * FROM `ucd_diskio` WHERE device_id = ? ORDER BY diskio_descr', array($device));
}