*BSD News Article 33252


Return to BSD News archive

Xref: sserve comp.os.386bsd.misc:2819 comp.os.linux.misc:20277
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!quagga.ru.ac.za!Braae!g89r4222
From: csgr@cs.ru.ac.za (Geoff Rehmet)
Newsgroups: comp.os.386bsd.misc,comp.os.linux.misc
Subject: Re: I hope this won't ignite a major flame war, but I've got to know!
Date: 26 Jul 1994 19:38:27 GMT
Organization: Rhodes University Computing Services
Lines: 34
Message-ID: <313onj$1sg@quagga.ru.ac.za>
References: <30drlt$7tc@news.u.washington.edu> <30ntmh$642@apollo.west.oic.com> <30pafh$hv4@Starbase.NeoSoft.COM> <DHOLLAND.94Jul25170707@scws33.harvard.edu> <311u5l$hq6@Starbase.NeoSoft.COM>
Reply-To: csgr@cs.ru.ac.za
NNTP-Posting-Host: braae.ru.ac.za
X-Newsreader: NN version 6.5.0 #4 (NOV)

In <311u5l$hq6@Starbase.NeoSoft.COM> peter@Starbase.NeoSoft.COM (Peter da Silva) writes:

>In article <DHOLLAND.94Jul25170707@scws33.harvard.edu>,
>David Holland <dholland@scws33.harvard.edu> wrote:
>>There's -t, to select a terminal; ps -tp6 lists only what's on ttyp6.

>OK, how about -u.

>>Does AT&T ps have an equivalent of -x?

>Either the manual is wrong, or FreeBSD PS is broken:

>     -x      Display information about processes without controlling termi-
>             nals.
It doesn't display information only about processes without controlling 
terminals ;-)

FYI, SunOS 4.1.1 does the same as FreeBSD:
alpha: /%ps
  PID TT STAT  TIME COMMAND
  29699 p4 S     0:00 -tcsh (tcsh)
  29738 p4 R     0:00 ps
alpha: /%ps x
  PID TT STAT  TIME COMMAND
  29694 ?  S     0:00 /usr/local/sunos/bin/xterm -j +ut -display neptune:0.0 -ls
  29699 p4 S     0:00 -tcsh (tcsh)
  29740 p4 R     0:00 ps x

Geoff.
--
 Geoff Rehmet, Computer Science Department,   | ____   _ o         /\
  Rhodes University,  South Africa            |___  _-\_<,        / /\/\
 FreeBSD core team                            |    (*)/'(*)    /\/ /  \ \
     csgr@cs.ru.ac.za, csgr@freefall.cdrom.com, geoff@neptune.ru.ac.za