Answers:
您可能想尝试dspci来自开源DPCIManager项目的控制台实用程序。但我必须警告您,该软件来自Hackintosh / OSx86世界,并且DPCIManager.app除了列出了在真实Mac上运行也不安全的 PCI设备之外,还提供了其他功能,因此请避免使用该软件包除外,该dspci实用程序仅在您的系统中列出PCI设备(例如lspciLinux)。
lshw 等都是从外部来源了。lspcilsusb
lspci并且lsusb作为示例/方便的utils包含在各自的源代码树中)。也有可用的包装器外壳,它们可以用作例如system_profiler SPUSBDataType数据源,并尝试表现得类似lsusb或类似。
lsusb通过分发的软件包brew,基本上只是一个包装,克隆或别名之类的东西system_profiler SPUSBDataType。
No formula found for "/pciutil/". No formula found for "/lshw/". No formula found for "/lsusb/". No formula found for "/lspci/". 在哪里?您能否更精确地指定网址?
sysctl吗?我认为sysctl machdep提供了一些与您的机器有关的信息。