Vous recherchez est la commande system_profiler
.
Créer plist
informations système contenant pour tous SPDataTypes
:
system_profiler -xml
Créer plist
contenant des informations pour SPDataType
spécifiques:
system_profiler -xml SPHardwareRAIDDataType
Liste des SPDataTypes
:
SPParallelATADataType
SPApplicationsDataType
SPAudioDataType
SPBluetoothDataType
SPCardReaderDataType
SPComponentDataType
SPDeveloperToolsDataType
SPDiagnosticsDataType
SPDiscBurningDataType
SPEthernetDataType
SPExtensionsDataType
SPFibreChannelDataType
SPFireWireDataType
SPFirewallDataType
SPFontsDataType
SPFrameworksDataType
SPDisplaysDataType
SPHardwareDataType
SPHardwareRAIDDataType
SPNetworkLocationDataType
SPLogsDataType
SPManagedClientDataType
SPMemoryDataType
SPModemDataType
SPNetworkDataType
SPPCIDataType
SPParallelSCSIDataType
SPPowerDataType
SPPrefPaneDataType
SPPrintersSoftwareDataType
SPPrintersDataType
SPConfigurationProfileDataType
SPSASDataType
SPSerialATADataType
SPSoftwareDataType
SPStartupItemDataType
SPSyncServicesDataType
SPThunderboltDataType
SPUSBDataType
SPUniversalAccessDataType
SPNetworkVolumeDataType
SPWWANDataType
SPAirPortDataType
Pour plus de détails comment utiliser system_profiler
run:
man system_profiler
Grande réponse - fortement recommandé. La commande exacte pour ce que je cherchais était system_profiler -SPHardwareDataType. À votre santé – Katana24