namelist

Alias

addtypes,nmlist

Usage

namelist
        [-a namelist]
        [index_number]
    

Description

Add/list opened namelists, i.e. files with type information.

OPTIONS:
 -a namelist
       Add type information of new namelist.
 index_number
       Current namelist is set to given index_number.

If no arguments are given, display all currently opened namelists.
"addtypes" is an alias for "namelist -a".
    

Example 4-11. namelist

For a comprehensive example please refer to the Section called Analyze Kernel Modules in Chapter 5.

>> namelist
INDEX  NAMELIST
=================================================
    0  /boot/Kerntypes
=================================================

The current namelist is /boot/Kerntypes (0)

>> namelist -a /tmp/snd.o
/tmp/snd.o is not an object file
The current namelist is /tmp/snd.o (1)

>> namelist
INDEX  NAMELIST
=================================================
    0  /boot/Kerntypes
    1  /tmp/snd.o
=================================================

The current namelist is /tmp/snd.o (1)

>> namelist 0
The current namelist is /boot/Kerntypes (0)