Operating System - HP-UX
1833017 Members
2130 Online
110048 Solutions
New Discussion

Re: How to get the man pages installed for kernel/driver functions

 
John Liu
Occasional Advisor

How to get the man pages installed for kernel/driver functions

Dear friends,

Can you tell me how to install the man pages for kernel/driver functions? I can access some shell commands and some application C functions' man page, but when I try to access like kmem_alloc or dma_setup etc kernel/driver functions using man xxxx, No manual page. Do I need to reinstall HP/UX 11.00 man pages or all the man pages are already installed I only need to set up something to make it work?

I appreciated very much for your help.

JohnL
JohnL
5 REPLIES 5
Albert E. Whale, CISSP
Honored Contributor

Re: How to get the man pages installed for kernel/driver functions

Not knowing your environment, I would try the following first.

Find all of the directories which man pages are housed. Place this information (with each directory separated by a colon) in a file called /etc/MANPATH

Next, set the environment variable MANPATH to the contents of the file, (i.e. MANPATH=$(cat /etc/MANPATH) ; export MANPATH).

Next run the Makewhatis utility (/usr/lbin/mkwhatis on HP-UX 11.0)

Now you can issue your man -k commands to find out if the Man Pages you want are installed on the Server, or if you need to go re-install them.

Good Luck.
Sr. Systems Consultant @ ABS Computer Technology, Inc. http://www.abs-comptech.com/aewhale.html & http://www.ancegroup.com
John Liu
Occasional Advisor

Re: How to get the man pages installed for kernel/driver functions

Thanks, Albert,

I checked as you suggested MANPATH etc. no problem.
Then, I run
# /usr/lbin/mkwhatis
I got the following information repeat four times
stdio: not in compressed format

I wonder if I need to give some options for mkwhatis cause I even have no idea what mkwhatis is going to do. I don't have the man page for mkwhatis either.

Thanks again

JohnL
JohnL
Steven Sim Kok Leong
Honored Contributor

Re: How to get the man pages installed for kernel/driver functions

Hi,

For detailed descriptions of each kernel parameter, run sam in X11 mode and access kernel configuration. After selecting a kernel parameter, click on the Help button in the dialog box. It gives you a detailed description of the kernel parameter and its use in detail.

Using this method, I have the entire set of kernel parameters along with the detailed descriptions printed out and bound in a file.

Regards.

Steven Sim.

Re: How to get the man pages installed for kernel/driver functions

HI

You can restore man pages with the help of command

/etc/catman

if you try this command this command will restore all the needed man pages in your system but it could take more than six hours to bulid man pages ,so it is recommened that you can try this in night.

More is if you have man pages installed

set

MANPATH=/usr/share/man;export MANPATH

Thanks

Nikhil
nikhil
John Liu
Occasional Advisor

Re: How to get the man pages installed for kernel/driver functions

Thanks for your messages.

I got some messages whan I run
#//etc/catman
cannot open file man3/DtDndDragStart.3
cannot open file man3/DtDndDropRegister.3
cannot open file man3/DtAppInitialize.3
col: Input line is TOO long!
/usr/share/man/C: No such file or directory
cannot open file man3/DtDndDragStart.3
cannot open file man3/DtDndDropRegister.3
cannot open file man3/DtAppInitialize.3
cannot open file man3/DtSearchHasMessages.3
cannot open file man3/DtSearchHasMessages.3
cannot open file man3/DtSearchHasMessages.3
....

I wonder what's wrong with these messages.

Thanks

John
JohnL