1
さらなる処理のためにMac OS Xでioreg
の出力を得る必要がありますが、使用するツリー構造は解析が難しいですか? XMLで出力を得る方法はありますか(例えばsystem_profiler
のように)解析するのは簡単ですか?ioregの出力を解析しやすい形式で得ることは可能ですか?
+-o Root <class IORegistryEntry, retain 12>
| {
| ...
| }
|
+-o MacBookPro5,1 <class IOPlatformExpertDevice, registered, matched, active, busy 0, retain 25>
| {
| ...
| }
|
+-o AppleACPIPlatformExpert <class AppleACPIPlatformExpert, registered, matched, active, busy 0, retain 51>
| | {
| | ...