libs; foreach ($libs as $lib) { // $totalSlots = $totalSlots + $lib->totalSlots; // $fullSlots = $fullSlots + $lib->fullSlots; } // partition_count long // drive_count long // unassigned_drive_count long $fullSlots = $counts->media_count; $totalSlots = $counts->slot_count; $unassignedSlots = $counts->unassigned_slot_count; $licensedSlots = $counts->licensed_slot_count; $unlicensedSlots = $counts->unlicensed_slot_count; // mailbox_count long // full_mailbox_count long // avail_mailbox_count long // max_mailbox_count long // cleaning_count long // full_cleaning_slot_count long // avail_cleaning_slot_count long // add slots not in a logical library, ie physical $emptySlots = $totalSlots - $fullSlots - $unassignedSlots; ?>