IOREG(8)
πΈ NAME πΈ
okay so bestie, this is the ioreg page from the System Manager's Manual, and the NAME line is literally ioreg β show I/O Kit registry π
β¨ SYNOPSIS β¨
ioreg [-abfilrtxy] [-c class] [-d depth] [-k key] [-n name] [-p plane]
[-w width]
π DESCRIPTION π
okay so ioreg displays the I/O Kit registry. It shows the hierarchical registry structure as an inverted tree. The provider-client relationships among those objects is shown as follows:
+-o provider
|
+-o client
By default, object properties are not shown. The use of the -c, -k, -l, or -n options cause ioreg to show properties for objects that match the specified criteria.
By supplying the -r option, the user may specify the object which will appear at the root of the tree with the -c, -k, or -n options. If root matches more than one object, multiple trees will be displayed.
π OPTIONS π
The options are as follows, and yes, every single one is getting its moment:
-aβ archive the output in XML. ποΈ-bβ show the object name in bold. π€-cβ show the object properties only if the object is an instance of, or derives from, the specified C++ class (e.g.IOService). π§¬-dβ limit tree traversal to the specified depth. The depth limit is applied with respect to each subtree root individually. Therefore, supplying a depth of 1 will causeioregto display only (sub)tree root nodes; children will not be shown. π³-fβ enable smart formatting.ioregknows how to format certain properties so that the output is more readable and meaningful, decoding data fields where appropriate. Currently supported arereg,assigned-addresses,slot-names,ranges,interrupt-map,interrupt-parent, andinterrupts. β¨-iβ show the object inheritance. π-kβ show the object properties only if the object has the specified key. Substrings do not match; the specified key must be a full property name. π-lβ show properties for all displayed objects. π-nβ show the object properties only if the object has the specified name. The object location, if any, is considered part of the name, thuspci@f0000000andpci@f4000000are distinct names. π·οΈ-pβ traverse the registry over the specified plane. The default plane value isIOService. The other planes, such asIODeviceTree, can be found under theIORegistryPlanesproperty of the root object (ioreg -d 1 -k IORegistryPlanes). π°οΈ-rβ show subtrees rooted by objects that match the specified criteria. If none of-c,-k, or-nare supplied,-rhas no effect. π±-tβ show tree location of each subtree. This option causesioregto display all nodes between the I/O Kit Root and the root of the displayed subtree, i.e. the subtree's parent, grandparent, etc. π§-wβ clip the output to the specified line width. The default width value is the current screen size. A value of 0 specifies an unlimited line width. π-xβ show data and numbers as hexadecimal. π’
π¨ also from the page: Do not consider DriverKit classes with -c.
π that's the whole ioreg(8) page, bestie. This one is from Darwin, dated September 26, 2011. periodt. π«Ά
π¦ where this page comes from
- nixpkgs unstable: IOKitTools 125
- Copyright (c) 2000-2011 Apple Computer, Inc. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms