xref: /freebsd/sbin/kldstat/kldstat.8 (revision 1b18fc10b365f9a08c97725702702ddf34192981)
1a79fe607SDoug Rabson.\"
2a79fe607SDoug Rabson.\" Copyright (c) 1997 Doug Rabson
3a79fe607SDoug Rabson.\" All rights reserved.
4a79fe607SDoug Rabson.\"
5a79fe607SDoug Rabson.\" Redistribution and use in source and binary forms, with or without
6a79fe607SDoug Rabson.\" modification, are permitted provided that the following conditions
7a79fe607SDoug Rabson.\" are met:
8a79fe607SDoug Rabson.\" 1. Redistributions of source code must retain the above copyright
9a79fe607SDoug Rabson.\"    notice, this list of conditions and the following disclaimer.
10a79fe607SDoug Rabson.\" 2. Redistributions in binary form must reproduce the above copyright
11a79fe607SDoug Rabson.\"    notice, this list of conditions and the following disclaimer in the
12a79fe607SDoug Rabson.\"    documentation and/or other materials provided with the distribution.
13a79fe607SDoug Rabson.\"
14a79fe607SDoug Rabson.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15a79fe607SDoug Rabson.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16a79fe607SDoug Rabson.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17a79fe607SDoug Rabson.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18a79fe607SDoug Rabson.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19a79fe607SDoug Rabson.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20a79fe607SDoug Rabson.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21a79fe607SDoug Rabson.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22a79fe607SDoug Rabson.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23a79fe607SDoug Rabson.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24a79fe607SDoug Rabson.\" SUCH DAMAGE.
25a79fe607SDoug Rabson.\"
267f3dea24SPeter Wemm.\" $FreeBSD$
27a79fe607SDoug Rabson.\"
28*1b18fc10SEdward Tomasz Napierala.Dd January 19, 2016
29a79fe607SDoug Rabson.Dt KLDSTAT 8
30a79fe607SDoug Rabson.Os
31a79fe607SDoug Rabson.Sh NAME
32a79fe607SDoug Rabson.Nm kldstat
33a79fe607SDoug Rabson.Nd display status of dynamic kernel linker
34a79fe607SDoug Rabson.Sh SYNOPSIS
357c7fb079SRuslan Ermilov.Nm
36*1b18fc10SEdward Tomasz Napierala.Op Fl h
373e8cf495SBaptiste Daroussin.Op Fl q
38a79fe607SDoug Rabson.Op Fl v
39a79fe607SDoug Rabson.Op Fl i Ar id
405d6d6d38SMax Khon.Op Fl n Ar filename
415d6d6d38SMax Khon.Nm
4290217cddSPawel Jakub Dawidek.Op Fl q
435d6d6d38SMax Khon.Op Fl m Ar modname
44a79fe607SDoug Rabson.Sh DESCRIPTION
45a79fe607SDoug RabsonThe
46a79fe607SDoug Rabson.Nm
4761c3dd35SPaul Saabutility displays the status of any files dynamically linked into the
4861c3dd35SPaul Saabkernel.
49a79fe607SDoug Rabson.Pp
5057e78ffbSPhilippe CharnierThe following options are available:
51a87c2a93SDavid E. O'Brien.Bl -tag -width indentXX
52*1b18fc10SEdward Tomasz Napierala.It Fl h
53*1b18fc10SEdward Tomasz NapieralaDisplay the size field in a human-readable form, using unit suffixes
54*1b18fc10SEdward Tomasz Napieralainstead of hex values.
55a79fe607SDoug Rabson.It Fl v
5661c3dd35SPaul SaabBe more verbose.
57a79fe607SDoug Rabson.It Fl i Ar id
58a79fe607SDoug RabsonDisplay the status of only the file with this ID.
595d6d6d38SMax Khon.It Fl n Ar filename
605d6d6d38SMax KhonDisplay the status of only the file with this filename.
6190217cddSPawel Jakub Dawidek.It Fl q
6290217cddSPawel Jakub DawidekOnly check if module is loaded or compiled into the kernel.
635d6d6d38SMax Khon.It Fl m Ar modname
645d6d6d38SMax KhonDisplay the status of only the module with this modname.
65a79fe607SDoug Rabson.El
66a866e170SRuslan Ermilov.Sh EXIT STATUS
67a866e170SRuslan Ermilov.Ex -std
68a79fe607SDoug Rabson.Sh SEE ALSO
69fa8b1c61SChris Costello.Xr kldstat 2 ,
70a79fe607SDoug Rabson.Xr kldload 8 ,
71a79fe607SDoug Rabson.Xr kldunload 8
722830148aSJohn-Mark Gurney.Sh HISTORY
732830148aSJohn-Mark GurneyThe
742830148aSJohn-Mark Gurney.Nm
75e1205e80SPhilippe Charnierutility first appeared in
76a87c2a93SDavid E. O'Brien.Fx 3.0 ,
77a87c2a93SDavid E. O'Brienreplacing the
785ab2dec3SChristian Brueffer.Nm lkm
79a87c2a93SDavid E. O'Brieninterface.
8068085a0eSPhilippe Charnier.Sh AUTHORS
81bd0891ceSBaptiste Daroussin.An Doug Rabson Aq Mt dfr@FreeBSD.org
82