Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > K

kcpath(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

kcpath — print kernel configuration pathnames

SYNOPSIS

kcpath [-b]

kcpath -d [config]

kcpath -x [config]

DESCRIPTION

kcpath prints the pathnames associated with a kernel configuration. If config is specified, kcpath gives information about the saved kernel configuration named config. Otherwise, kcpath gives information about the currently running configuration. See kconfig(5) for information on saved kernel configurations.

Options

-b

kcpath will print the basename of the currently running kernel.

-d [config]

kcpath will print the full pathname of the directory containing the configuration.

-x [config]

kcpath will print the full pathname of the kernel executable for the configuration.

If no options are specified, kcpath acts as if -b was specified.

RETURN VALUE

kcpath returns zero for success. It returns non-zero and prints a diagnostic message if an error occurs.

EXAMPLES

Print the basename of the currently running kernel: $ kcpath -b vmunix Print the directory containing the currently running kernel: $ kcpath -d /stand/current Print the pathname of the currently running kernel executable: $ kcpath -x /stand/current/vmunix Print the directory containing the kernel for "str1013": $ kcpath -d str1013 /stand/str1013 Print the pathname of the kernel executable for "str1013": $ kcpath -x str1013 /stand/str1013/vmunix

SEE ALSO

kconfig(5).

HP-UX System Administrator's Guide: Configuration Management, available on http://docs.hp.com.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.