From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5a0234ec8955e972 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-07-30 07:16:00 PST Path: bga.com!news.sprintlink.net!hookup!ames!newsfeed.gsfc.nasa.gov!arrowroot.gsfc.nasa.gov!user From: gurman@uvsp.gsfc.nasa.gov (Joseph B. Gurman) Newsgroups: comp.sys.dec Subject: Re: Misfeature in DEC OSF/1 `ps' command Date: Sat, 30 Jul 1994 10:06:42 -0400 Organization: NASA Goddard Space Flight Center Solar DAC Message-ID: References: NNTP-Posting-Host: arrowroot.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit In article , rpb@psy.ox.ac.uk (Ray Bellis) wrote: > I've noticed a misfeature in the DEC OSF/1 `ps' command: > > If you use the `ps' command, the width of the output is automatically > truncated to the width of the terminal *even* if the output isn't > going to the terminal. > > Thus, if you do `ps aux | grep cron' on an 80 column terminal it > won't find your `cron' process. > > DEC, please consider turning this terminal width feature off when > the stdout isn't a tty. Ray - From the OSF/1 2.0 man page for ps: w Uses a wide output format (132 columns (bytes) rather than 80); if this flag is doubled (ww), uses an arbitrarily wide output. This informa- tion determines how much of long commands to print. Hope this helps, Joe Gurman -- Joseph B. Gurman / NASA Goddard Space Flight Center/ Solar Data Analysis Center / Code 682 / Greenbelt MD 20771 USA / gurman@uvsp.gsfc.nasa.gov | Federal employees are still prohibited from holding opinions while at work. Any opinions expressed herein must therefore be someone else's. |