ioreg.8   [plain text]

.\" Copyright (c) 2000 Apple Computer, Inc.  All rights reserved.
.Dd January 1, 2000
.Os Darwin
.Nm ioreg
.Nd show I/O Kit registry
.Op Fl b
.Op Fl c Ar class
.Op Fl l
.Op Fl n Ar name
.Op Fl p Ar plane
.Op Fl s
.Op Fl w Ar width
.Op Fl x
displays the I/O Kit registry.
The use of the
.Fl c,
.Fl l,
.Fl n
options cause
to show the properties of objects matching the specified criteria.  By default,
does not show the properties of an object.
The options are as follows:
.Bl -tag -width flag
.It Fl b
Show the object name in bold.
.It Fl c
Show the object properties only if the object is, or derives from, the specified
.Ar class .
.It Fl l
Show the object properties.
.It Fl n
Show the object properties only if the object has the specified
.Ar name .
.It Fl p
Traverse the registry over the specified
.Ar plane .
The default plane value is ``IOService''.  The other planes, such as ``IODeviceTree'', can be found under the ``IORegistryPlanes'' property of the root object (ioreg -n Root).
.It Fl s
Show the object state (busy state, retain count).
.It Fl w
Clip the output to the specified line
.Ar width .
The default width value is the current screen size.  A value of 0 specifies an unlimited line width.
.It Fl x
Print numeric property values in hexadecimal.