Extension Attribute - show PCI slot usage?

donmontalvo
Esteemed Contributor III

I checked the KB and the Resource Kit and didn't see anything on it. Is anyone using Extension Attributes to pull expansion slot information? We're trying to get an idea how many PCI-Express slots are available on the Mac Pro workstations that are deployed. Hoping someone's done this already... :)

Don

--
https://donmontalvo.com
1 REPLY 1

biggievan
New Contributor

How about slots used?

#!/bin/bash

PCIused=system_profiler SPPCIDataType | grep -A0 Slot | awk '{print $2}'

echo "<result>$PCIused</result>"