HP-UX HB v13.00 Ch-07 - Kernel Configuration

HP-UX Handbook Rev 13.00 Page 12 (of 33)
Chapter 07 Kernel Configuration
October 29, 2013
# cat /stand/system.d/krm
* @(#)$Revision: 1.1 $ $Date: 2000-04-18 11:18:16-06 $
* Kernel Resource Monitor system file
* (C) Copyright 1999 Hewlett-Packard Company
$VERSION 1
$CONFIGURE Y
The update option (-u) is neccessary whenever the subsystem code (mod.o) has changed.
Refer to kminstall(1M) man page for details
kmsystem(1M)
Displays/modifies the LOADABLE and CONFIGURATION flags for kernel modules. The
LOADABLE flag determines whether the module gets loaded dynamically to the kernel or
whether it gets statically linked to the kernel. The CONFIGURATION flag determines
whether the module should be included during the next kernel compilation or not. Static
drivers are added to/removed from the system file with this option.
kmsystem(1M) simply modifies the module’s system file /stand/system.d/<module>
# kmsystem | more
Module Configured Loadable
=================================================
CentIf N -
CharDrv N -
DlkmDrv Y -
GSCtoPCI Y -
PCItoPCI Y -
SCentIf N -
...
Query the current state of the krm module:
# kmsystem -q krm
Module Configured Loadable
=================================================
krm Y Y
Set the LOADABLE flag to N:
# kmsystem -l N krm
# kmsystem -q krm
Module Configured Loadable
=================================================
krm Y N
# cat /stand/system.d/krm
* @(#)$Revision: 1.1 $ $Date: 2000-04-18 11:18:16-06 $
* Kernel Resource Monitor system file
* (C) Copyright 1999 Hewlett-Packard Company
$VERSION 1
$CONFIGURE Y
$LOADABLE N
Refer to kmsystem(1M) man page for details.