NAME [Toc] [Back]
kmpath - retrieve kernel name and associated kernel configuration
SYNOPSIS [Toc] [Back]
/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
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
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.
This option is retired and will not return any output.
SEE ALSO [Toc] [Back]
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ]