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