March 23, 2006 MODSTAT 8

### NAME

modstat - display status of loaded kernel modules

### SYNOPSIS

modstat [-i id] [-n name]

### DESCRIPTION

The modstat utility displays the status of any loadable kernel modules present in the kernel.

The options are as follows:

-i id
  Display the status of only the module with this ID.

-n name
  Display the status of only the module with this name.

In addition to listing the currently loaded modules' name, the information reported by modstat includes:

```Type`
  Type of module, such as "SYSCALL", "VFS", "DEV", "EXEC", "COMPAT", "MISC", or "(UNKNOWN)". See lkm(4) for details.

```Id`
  Module identification number.

```Offset`
  Target table offset.

```Loadaddr`
  Address the module loaded at.

```Size`
  Size in kilobytes (in hex).

```Info`
  Kernel address of private area.

```Rev`
  Version of the module interface. (Not the version of the module itself.)

### EXIT STATUS

The modstat utility exits with a status of 0 on success and with a nonzero status if an error occurs.

### SEE ALSO

lkm(4), modload(8), modunload(8)

### HISTORY

The modstat command was designed to be similar in functionality to the corresponding command in SunOS 4.1.3.

### AUTHORS

Terrence R. Lambert <terry@cs.weber.edu>