Briefly document output of the modstat utility.

(And update document date.)
This commit is contained in:
reed 2006-03-23 23:59:38 +00:00
parent ed99bb9996
commit 909919ef8b

View File

@ -1,4 +1,4 @@
.\" $NetBSD: modstat.8,v 1.12 2005/09/09 22:47:26 rpaulo Exp $
.\" $NetBSD: modstat.8,v 1.13 2006/03/23 23:59:38 reed Exp $
.\"
.\" Copyright (c) 1993 Christopher G. Demetriou
.\" All rights reserved.
@ -32,7 +32,7 @@
.\"
.\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>>
.\"
.Dd June 7, 1993
.Dd March 23, 2006
.Dt MODSTAT 8
.Os
.Sh NAME
@ -55,6 +55,36 @@ Display the status of only the module with this ID.
.It Fl n Ar name
Display the status of only the module with this name.
.El
.Pp
In addition to listing the currently loaded modules' name,
the information reported by
.Nm
includes:
.Pp
.Bl -tag -column Loadaddr
.It Li Type
Type of module, such as
"SYSCALL", "VFS", "DEV",
.\" "STRMOD",
"EXEC", "COMPAT", "MISC" or "(UNKNOWN)".
See
.Xr lkm 4
for details.
.It Li Id
Module identification number.
.It Li Offset
Target table offset.
.It Li Loadaddr
Address the module loaded at.
.It Li Size
Size in kilobytes (in hex).
.It Li Info
Kernel address of private area.
.It Li Rev
Version of the module interface.
(Not the version of the module itself.)
.El
.Pp
.Sh EXIT STATUS
The
.Nm