xref: /dragonfly/usr.sbin/devinfo/devinfo.8 (revision 110def69)
1.\"
2.\" Copyright (c) 2002 Hiten Pandya
3.\" Copyright (c) 2002 Robert N. M. Watson
4.\"
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR
17.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19.\" IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26.\"
27.\" $FreeBSD: src/usr.sbin/devinfo/devinfo.8,v 1.9 2006/09/29 16:46:01 ru Exp $
28.\"
29.Dd February 6, 2018
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 u
40.Sh DESCRIPTION
41The
42.Nm
43utility, without any arguments, shows the hierarchy of devices available
44in the system, starting from the
45.Dq nexus
46device.
47.Pp
48The following options are accepted.
49.Bl -tag -width indent
50.It Fl r
51Causes hardware resource information (such as IRQ, I/O ports, I/O memory
52addresses) to be also listed, under each device that has reserved those resources.
53.It Fl u
54Displays the same information as with
55.Fl r
56but sorts by resource type rather than by device, allowing to review the
57set of system resources by usage and available resources.
58I.e., it lists all
59the IRQ consumers together.
60.It Fl v
61Display all enabled devices in the driver tree, not just those that are
62attached or busy.
63Specify this flag twice, to also display all disabled devices in the driver
64tree.
65Without this flag, only those devices that have attached are reported.
66.El
67.Sh SEE ALSO
68.Xr systat 1 ,
69.Xr devinfo 3 ,
70.Xr iostat 8 ,
71.Xr pciconf 8 ,
72.Xr vmstat 8 ,
73.Xr devclass 9 ,
74.Xr device 9
75.Sh AUTHORS
76.An Mike Smith Aq Mt msmith@FreeBSD.org
77