Skip to main content
Question

Extension Attribute - show PCI slot usage?

  • December 29, 2010
  • 1 reply
  • 3 views

donmontalvo
Forum|alt.badge.img+36

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

1 reply

Forum|alt.badge.img+1
  • New Contributor
  • 2 replies
  • September 20, 2012

How about slots used?

#!/bin/bash

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

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