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: -

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

Is this correct or a typo?

Thanks

Hi.

On my Solaris it says:

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.

'man ps' on Solaris 5.9:

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.

Following the posted link...:

PS(1)			      Linux User's Manual			 PS(1)

I don't believe that was the OP's question...

ps(1) - report process status (man pages section 1: User Commands) - Sun Microsystems

sorry :rolleyes: :smiley:

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.