- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Man Pages...
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 12:52 PM
02-12-2001 12:52 PM
I have been reading in one of my old Sys Admin books that you could search the man pages to list all commands that have the string keyword in their description.
ie. man -k keyword
When I execute the below it doesn't work. Any ideas on what is happening? Thanks.
root@viper:/# man -k copy
/usr/share/lib/whatis: No such file or directory
S Aldrich
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 12:54 PM
02-12-2001 12:54 PM
Re: Man Pages...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 03:22 PM
02-12-2001 03:22 PM
Re: Man Pages...
You can run 'catman -m' too. This will merge new entries into the 'whatis' database AND create formattted pages.
I always run 'catman -m' after applying patches to format new or replaced man pages and to update the "whatis" database.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 07:47 PM
02-12-2001 07:47 PM
Solutioncatman running against all the man pages for the first time will take a LONG time, several hours. You can limit which man pages are indexed with:
catman 11m23457
Which says: index man pages for section 1 (all user commands), 1m for root-only pages, 2 for system and library calls, and so on.
Another option is -w which suppresses the formatting of each page. This takes the most time but it does eliminate the "Reformatting entry. Wait..." pause. catman can do all the formatting on all the pages and eliminate the delay. It does require a lot more space (10-20 megs) in the man page areas, but may be useful.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2001 11:11 PM
02-12-2001 11:11 PM
Re: Man Pages...
It could take long to format all pages as 'nroff' has to be started for each page.
'catman -w' only creates a one line description for every manual page and creates an 'database' file (/usr/share/lib/whatis)
To give you a time estimate, I've run 'time catman -w' on a L2000 server and here is the output:
mercator:/# time catman -w
stdin: not in compressed format
stdin: not in compressed format
real 3:03.2
user 45.9
sys 1:23.0
As you see, it doesn't take ages to complete.
Best regards,
Dan