kmpath(1M) kmpath(1M)
NAME [Toc] [Back]
kmpath - retrieve kernel name and associated kernel configuration
information
SYNOPSIS [Toc] [Back]
/usr/sbin/kmpath [-k]
/usr/sbin/kmpath -c [kernel_name]
/usr/sbin/kmpath -i [kernel_name]
DESCRIPTION [Toc] [Back]
The kmpath command is obsolete and superseded by the kcpat
. The kmpath
command will be removed in a future release of HP-UX. The behavior of
some of kmpath's options have changed and they are noted in the
appropriate sections below.
kmpath retrieves the main kernel file name and path information of the
currently running kernel. kmpath also retrieves the configuration
directory of the current or specified kernel.
Each kernel configuration consists of a kernel executable and a number
of other files including dynamically loadable kernel modules. These
files are all stored in a directory which represents the kernel
configuration.
If no options are specified, kmpath returns the full path of the
executable file for the kernel that was most recently booted. Note
that the executable file may no longer be at that path, if changes
have been made since boot.
Options [Toc] [Back]
The kmpath options have the following meanings:
-k Return the base name of the executable file of the currently
running kernel.
-c [kernel_name]
Return the pathname of a kernel configuration directory. If
kernel_name is not specified, returns the pathname of the
directory for the current kernel configuration. If
kernel_name is specified, returns the pathname of the
directory that contains the specified kernel.
-i [kernel_name]
This option is retired and will not return any output.
SEE ALSO [Toc] [Back]
kcpath(1M), kconfig(5).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |