Typo in man file??


 
Thread Tools Search this Thread
Operating Systems Solaris Typo in man file??
# 1  
Old 10-30-2009
Typo in man file??

Hi is it me or is there a typo in the Sun Solaris man page for ps. I thought the option for listing a process by PID was just -p but on the clearcase server at work it reads: -

Code:
     -ps proclist
           Lists only process data whose process ID  numbers  are
           given in proclist.

Is this correct or a typo?

Thanks
# 2  
Old 10-30-2009
Hi.

On my Solaris it says:

Quote:
-p proclist
Lists only process data whose process ID
numbers are
given in proclist.
Using -ps shows the usage.

So I would agree with you that it is either a) a typo; or b) you're using a version other than mine (5.10 Generic_127128-11) for which the usage is different.
# 3  
Old 10-30-2009
'man ps' on Solaris 5.9:
Code:
SYNOPSIS
     ps [-aAcdefjlLPy] [-g grplist] [-n namelist]  [-o format]...
     [-p proclist]   [-s sidlist]   [-t term]   [-u uidlist]   [-
     U uidlist] [-G gidlist]

     -ps proclist
           Lists only process data whose process ID  numbers  are
           given in proclist.

I'd say it's a typo.
# 4  
Old 10-30-2009
Quote:
Originally Posted by solaris_user
Following the posted link...:
Code:
PS(1)			      Linux User's Manual			 PS(1)

I don't believe that was the OP's question...
# 5  
Old 10-30-2009
# 6  
Old 10-30-2009
Quote:
Originally Posted by solaris_user
ps(1) - report process status (man pages section 1: User Commands) - Sun Microsystems

sorry
We were not debating whether it was in the man page or not, but whether it actually does anything.

And we seemed to have agreed that it doesn't, and is therefore a typo (in the man page).

It's neither in the man page on my Solaris server, nor does it work.

Last edited by Scott; 10-30-2009 at 07:49 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Typo in sample script from book?

Hello, I'm new to this forum, and I apologize in advance if I did something wrong here. I am pretty stumped here as I am still getting the error message, "./comc1.sh: test: argument expected." after executing the script itself. Here's the script file I modified: I tried executing line 4... (1 Reply)
Discussion started by: ConcealedKnight
1 Replies

2. Homework & Coursework Questions

man command output to a txt file

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am trying to outut the man command output into a text file which will help me for future reference. 2.... (8 Replies)
Discussion started by: hariniiyer300
8 Replies

3. UNIX for Dummies Questions & Answers

Is this a typo in my Book?

I'm currently learning Bash scripting from a book and the following example is given, but I think there is a typo in the variable assignment for the variable file. $ cat test5 #!/bin/bash # reading values from a file file=“states” ( shouldn't this be file=`cat states` assuming you... (23 Replies)
Discussion started by: Riker1204
23 Replies

4. Solaris

How to search man page (pdf file)

I'm not sure is it just only me or something. I try to download man page documentation from SUN.COM. However, it seems I can't search what I looking for in SUN man page. I try to search "passwd" but it return me a word "less" why this pdf can't search or is it require specific plugin to... (3 Replies)
Discussion started by: Smith
3 Replies

5. Shell Programming and Scripting

BASH Command Line Typo -- Can't Get Out

Hi Sorry to post a bit of an "I'm an idiot" post, but I did a typing error and typed "ls 'l" instead of "ls -l". This seems to have made me enter some sort of mode or other that I can't seem to be able to get out of. The new line prompt is > (if that helps). Sorry for posting such a... (1 Reply)
Discussion started by: Viola
1 Replies

6. Shell Programming and Scripting

man format file

hello How can i make a man file from a plain text file, what command should use? thanks (3 Replies)
Discussion started by: trynew
3 Replies
Login or Register to Ask a Question