1.\" 2.\" SPDX-License-Identifer: BSD-2-Clause 3.\" 4.\" Copyright (c) 2002 Hiten Pandya 5.\" Copyright (c) 2002 Robert N. M. Watson 6.\" 7.\" All rights reserved. 8.\" 9.\" Redistribution and use in source and binary forms, with or without 10.\" modification, are permitted provided that the following conditions 11.\" are met: 12.\" 1. Redistributions of source code must retain the above copyright 13.\" notice, this list of conditions and the following disclaimer. 14.\" 2. Redistributions in binary form must reproduce the above copyright 15.\" notice, this list of conditions and the following disclaimer in the 16.\" documentation and/or other materials provided with the distribution. 17.\" 18.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 19.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 20.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 21.\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" 29.Dd August 28, 2025 30.Dt DEVINFO 8 31.Os 32.Sh NAME 33.Nm devinfo 34.Nd print information about system device configuration 35.Sh SYNOPSIS 36.Nm 37.Op Fl rv 38.Nm 39.Fl p Ar dev Op Fl v 40.Nm 41.Fl u Op Fl v 42.Sh DESCRIPTION 43The 44.Nm 45utility, without any arguments, shows the hierarchy of devices available 46in the system, starting from the 47.Dq nexus 48device. 49.Pp 50The following options are accepted: 51.Bl -tag -width indent 52.It Fl p Ar dev 53Display the path of 54.Ar dev 55back to the root of the device tree. 56.It Fl r 57Causes hardware resource information 58.Pq such as IRQ, I/O ports, I/O memory addresses 59to be also listed, under each device that has reserved those resources. 60.It Fl u 61Displays the same information as with 62.Fl r 63but sorts by resource type rather than by device, allowing to review the 64set of system resources by usage and available resources. 65I.e., it lists all 66the IRQ consumers together. 67.It Fl v 68Display all devices in the driver tree, not just those that are attached or 69busy. 70Without this flag, only those devices that have attached are reported. 71This flag also displays verbose information about each device. 72.El 73.Sh SEE ALSO 74.Xr systat 1 , 75.Xr devinfo 3 , 76.Xr devctl 8 , 77.Xr iostat 8 , 78.Xr pciconf 8 , 79.Xr vmstat 8 , 80.Xr devclass 9 , 81.Xr device 9 82.Sh HISTORY 83The 84.Nm 85utility appeared in 86.Fx 5.0 . 87.Sh AUTHORS 88.An Mike Smith Aq Mt msmith@FreeBSD.org 89