how to read man pages


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to read man pages
# 1  
Old 07-07-2006
Error how to read man pages

can anybody explain me how to read unix
man pages?

for example when i want to get information about ps command
man ps gives me this output:

***********************************
Reformatting page. Please wait... completed

ps(1) ps(1)

NAME

ps - Displays current process status

SYNOPSIS

Syntax conforming to XCU5.0

ps [-aAdejflm] [-o specifier] [=header] ,... [-O specifier] [=header] ,...
[-g glist] [-G glist] [-p plist] [-s slist] [-t tlist] [-u ulist] [-U
ulist] [-n nlist]

***********************************
what does [[-aAdejflm]] mean?
what does specifier mean?
what does [=header mean] ?
what does [-g glist] mean?
what does [-u ulist] mean?

do you know any good source to understand unix man pages?
# 2  
Old 07-07-2006
Quote:
what does [[-aAdejflm]] mean?
Those are options which are explained in the man page
EXAMPLE:
Code:
The following options can be used with ps:

  -a  Prints information to standard output about all processes, except the
      session leaders and processes not associated with a terminal.

  -A  Writes information for all processes.

  -d  Prints information to standard output about all processes, except the
      session leaders.

Quote:
what does specifier mean?
Specifiers are explained in the ps man page
EXAMPLE:
Code:
Format Specifiers


  The following list contains all format specifiers that can be used with ps:

  ________________________________________________________________
  Specifier   Header	Meaning
  ________________________________________________________________
  acflag      ACFLG

			[Tru64 UNIX]  Process accounting flag
  args	      COMMAND	Command arguments
  c	      C		CPU utilization factor for scheduling


what does [=header mean] ?
RTM - it should be apparent by now....

Quote:
what does [-g glist] mean?
what does [-u ulist] mean?
From the ps man page:

Prints only information about processes that are in the process groups
listed in glist. The glist is a list of process-group identifiers
enclosed in " " (double quotes) and separated from one another by a
comma or one or more spaces (or tabs), or both.


The ulist argument is either a list of
user IDs or a list of user IDs enclosed in " " (double quotes) and
separated from one another by a comma or one or more spaces, or both.

You should really try reading the complete man page and then ask questions about it - all of the descriptions are in the man page (in this case).
# 3  
Old 07-07-2006
google for examples of the command. also, "linux in a nutshell" is more brief

and $man man
you can do searches
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Commands for man pages

what command should i use for displaying the manual pages for the socket, read and connect system calls? (1 Reply)
Discussion started by: Nabeel Nazir
1 Replies

2. HP-UX

Looking for some man pages.

Can anyone supply me with the man pages for: omnidatalist omnibarlist omnisap.exe I prefer the source man pages in nroff format. A clue about the software bundles which supply these man pages is fine as well. OS: HP-UX TIA (11 Replies)
Discussion started by: sb008
11 Replies

3. Solaris

MAN PAGES

Hi everyone, I have a small query, in solaris the man pages get displayed on half of the terminal , can i get a full terminal or full screen display ?:) (2 Replies)
Discussion started by: M.Choudhury
2 Replies

4. Solaris

Solaris 10 man pages

Hi there, Ive just installed Solaris 10 from DVD and when trying to access the man pages, I get this # man ls No manual entry for ls. so I set MANPATH to /usr/share/man where all the man pages seem to be located, and i get the same result !!! Is there something else I have to do, ie... (5 Replies)
Discussion started by: hcclnoodles
5 Replies

5. Solaris

jumpstart and man pages

I've set up a jumpstart server on a Ultra 1 with 2 external 9GB hard drives. Below is the contents of the rules.ok file: Jserver# more rules.ok hostname jumpme - host_class - # version=2 checksum=2852 Below is the contents of the profile that I'm using for the test... (4 Replies)
Discussion started by: antalexi
4 Replies

6. UNIX for Dummies Questions & Answers

man pages

When reading man pages, I notice that sometimes commands are follwed by a number enclosed in parenthesis. such as: mkdir calls the mkdir(2) system call. What exactly does this mean? (4 Replies)
Discussion started by: dangral
4 Replies

7. UNIX for Dummies Questions & Answers

man pages

Hi folks, I want to know all the commands for which man pages are available. How do i get it? Cheers, Nisha (4 Replies)
Discussion started by: Nisha
4 Replies

8. UNIX for Dummies Questions & Answers

man pages

Hi, I've written now a man pages, but I don't knwo how to get 'man' to view them. Where have I to put this files, which directories are allowed?? THX Bensky (3 Replies)
Discussion started by: bensky
3 Replies

9. UNIX for Dummies Questions & Answers

man pages creating

Hi, I wnat to create my own man pages, but I can't find a good description of the troff language. Knows somebaody a good docu including examples?? Thx Bensky (2 Replies)
Discussion started by: bensky
2 Replies

10. UNIX for Dummies Questions & Answers

Man pages

Hello , I just installed openssh in my system . I actually tried to man sshd but it says no entry , though there is a man directory in the installation which have the man pages for sshd . Can anyone tell me how should i install these man pages . DP (2 Replies)
Discussion started by: DPAI
2 Replies
Login or Register to Ask a Question