Hard Drive Audit - Mac
Log In or Register to download the BES file, and more.

0 Votes

Versioning - This is the latest version.

1Hard Drive Audit - Mac5/28/2013 10:18:50 AM
2Hard Drive Audit - Mac7/15/2014 7:05:30 AM
3Hard Drive Audit - Mac6/19/2018 12:23:11 PM

Description

Analysis to gather various Hard Drive information including serial number, firmware, media type, etc. on Mac OS computers.


Property Details

ID2998593
StatusProduction - Fully Tested and Ready for Production
TitleHard Drive Audit - Mac
DomainBESC
Added by on 6/19/2018 12:23:11 PM
Last Modified by on 6/19/2018 12:23:11 PM
Counters 1871 Views / 1 Download
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Properties

Drive Model
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Name") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Name") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Name") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Name") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Name") of dictionaries "Device Characteristics" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")))
Hard Drive Serial Numbers
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Serial Number") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Serial Number") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Serial Number") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Serial Number") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Serial Number") of dictionaries "Device Characteristics" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")))
Drive Firmware
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Revision Level") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Revision Level") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Revision Level") of dictionaries "Device Characteristics" of dictionaries of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Revision Level") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Product Revision Level") of dictionaries "Device Characteristics" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")))
Total Free Space of System Drive
Period 6 hours
 
  * Results in a true/false
Show indented relevance
((free space of filesystem of folder "/") / (1024*1024*1024)) as string & " GB"
Total Used Space of System Drive
Period 6 hours
 
  * Results in a true/false
Show indented relevance
(((size of filesystem of folder "/") - (free space of filesystem of folder "/")) / (1024*1024*1024)) as string & " GB"
% Free Space of System Drive
Period 6 hours
 
  * Results in a true/false
Show indented relevance
free percent of filesystem of folder "/"
Size of TEM DL Cache
Period 1 day
 
  * Results in a true/false
Show indented relevance
if exists (folder "/Library/Application Support/BigFix/BES Agent/__BESData/__Global/__Cache") then ((sum of sizes of descendants of folder "/Library/Application Support/BigFix/BES Agent/__BESData/__Global/__Cache") / (1024 * 1024)) as string & " MB" else "<none>"
Size of tmp Folder
Period 1 day
 
  * Results in a true/false
Show indented relevance
if exists (folder "/tmp") then ((sum of sizes of descendants of folder "/tmp") / (1024 * 1024)) as string & " MB" else "<none>"
Physical Block Size
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Physical Block Size") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Physical Block Size") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Physical Block Size") of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")))
Media Type
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Medium Type") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Medium Type") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Medium Type") of dictionaries "Device Characteristics" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")))
Native Command Queuing
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (booleans of values of entries whose (key of it = "NCQ") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (booleans of values of entries whose (key of it = "NCQ") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("NVMe") else ("")))
Queue Depth
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Queue Depth") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Queue Depth") of dictionaries of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")))
Interconnect
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Physical Interconnect") of dictionaries "Protocol Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Physical Interconnect") of dictionaries "Protocol Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (strings of values of entries whose (key of it = "Physical Interconnect") of dictionaries "Protocol Characteristics" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) else ("")))
TRIM
Period 7 days
 
  * Results in a true/false
Show indented relevance
if (system version >= "10.7") then (unique values whose (it as string as trimmed string != "") of (unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (booleans of values of entries whose (key of it = "Unmap") of dictionaries "IOStorageFeatures" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (booleans of values of entries whose (key of it = "Unmap") of dictionaries "IOStorageFeatures" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (booleans of values of entries whose (key of it = "Unmap") of dictionaries "IOStorageFeatures" of dictionaries of node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else (""))))) else ("<unsupported os>" as string)
Drive RPM
Period 7 days
 
  * Results in a true/false
Show indented relevance
unique values whose (it as string as trimmed string != "") of ((if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then (integers of values of entries whose (key of it = "Rotation Rate") of dictionaries "Device Characteristics" of dictionaries of nodes "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of it of nodes "SATA" of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry as string) else ("")); (if (exists node "IOBlockStorageDriver" of nodes "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOBlockStorageServices" of nodes "IOSCSIPeripheralDeviceType00" of nodes "IOSCSILogicalUnitNub" of nodes "IOSCSITargetDevice" of nodes whose (name of it starts with "SAS Target") of nodes "AppleLSIFusionSAS" of nodes "SAS" of nodes "IOPCI2PCIBridge" of nodes of nodes "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IOAHCIBlockStorageDevice" of nodes "AppleAHCIDiskDriver" of nodes "IOAHCIDevice" of nodes of nodes of nodes of nodes of it of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")); (if (exists node "IONVMeBlockStorageDevice" of nodes of nodes whose (name of it starts with "SSD") of nodes of nodes of node "AppleACPIPCI" of node "PCI0" of node "AppleACPIPlatformExpert" of service plane of iokit registry) then ("N/A") else ("")))

Relevance

Used in 4 analyses   * Results in a true/false
Show indented relevance
(it = "i386" OR it = "x86_64") of architecture of operating system
Used in 2 analyses   * Results in a true/false
Show indented relevance
name of operating system contains "Mac OS X"

Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
kerryt9455 -
Significantly updated to work with much more modern hardware and also added support for at least some old Xserve models as well.
rustymyers -
On newer Macs, we need to look at all RP nodes for hard drive info. I suggest: s/name of it ="RP01"/name of it starts with "RP"/g
kerryt9455 -
Added in TRIM (works on machines I've tested), RPM where available and now functions with newer PCIe based Apple drives. Still haven't figured out a way to get SMART status.