From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4babe8922898e098 X-Google-Attributes: gidfee84,public From: "Jens M. Felderhoff" Subject: Re: ps bug on OSF1 4.0 Date: 2000/05/10 Message-ID: #1/1 X-Deja-AN: 621463265 Sender: jmfelder@srv-deu-cos11.baan.com References: <3918EE60.29587A62@iisc.com> X-Trace: fu-berlin.de 957943289 10861281 194.149.80.1 (16 [10019]) Newsgroups: comp.unix.osf.osf1 > From the man page: > > -u ulist > Displays only information about processes with the user > ID numbers > or > login names specified in ulist. 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. > Because of the way the shell treats spaces and tabs, you need to > quote > space-separated lists. > > In the listing, ps displays the numerical user ID unless the -f > option > is used; then it displays the login name. > > Thus when the "-f" precedes the "-u" the id# must be changed to the > logname. The description refers to the output of the listing, i.e., without the -f option you will get numerical UIDs and with the -f option you will get the login name. However, there is no mention that the order of options is relevant! I checked that you may use either -f or -u first on other XPG4 compliant Unixes, e.g., Solaris 2.6, HP-UX 10.20, or AIX 4.3. Cheers Jens -- Jens M. Felderhoff -- Baan Company, BaanWise Workflow office: jmfelder@baan.com home : j.m.f@netcologne.de