*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> kcpath (1m)              
Title
Content
Arch
Section
 

Contents


 kcpath(1M)                                                       kcpath(1M)




 NAME    [Toc]    [Back]
      kcpath - print kernel configuration pathnames

 SYNOPSIS    [Toc]    [Back]
      kcpath [-b]
      kcpath -d [config]
      kcpath -x [config]

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      -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    [Toc]    [Back]
      kcpath returns zero for success.  It returns non-zero and prints a
      diagnostic message if an error occurs.

 EXAMPLES    [Toc]    [Back]
      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



 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 kcpath(1M)                                                       kcpath(1M)




 SEE ALSO    [Toc]    [Back]
      kconfig(5).


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
mhpath Tru64 print full pathnames of MH messages and folders (only available within the message handling system, ...
kmpath HP-UX retrieve kernel name and associated kernel configuration information
paperconf Linux print paper configuration informations
devinfo FreeBSD print information about system device configuration
idbg IRIX kernel debugger print utility
ktrdump FreeBSD print kernel ktr trace buffer
dmesg Linux print or control the kernel ring buffer
getkeycodes Linux print kernel scancode-to-keycode mapping table
config FreeBSD kernel configuration file format
kclog HP-UX manage kernel configuration log file
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service