Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lehotsky@max.tiac.net (Alan Lehotsky)
Subject: Re: Misfeature in DEC OSF/1 `ps' command
Date: 25 Jul 1994 15:12:39 GMT	[thread overview]
Message-ID: <310kp7$4hu@sundog.tiac.net> (raw)
In-Reply-To: RPB.94Jul25150438@axp01.ox.ac.uk

In article <RPB.94Jul25150438@axp01.ox.ac.uk>,
Ray Bellis <rpb@psy.ox.ac.uk> 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.

	I fixed this in OSF's OSF/1 V1.3.  I don't know if or when
	Digital will incorporate the changes.

	However, you can get around this.  Read the man page...it
	tells you the environment variable ps uses to figure out your
	line-length.  [The permanent fix was to call isatty() before
	trying to truncate to a specific line length....]

-- Al Lehotsky




  parent reply	other threads:[~1994-07-25 15:12 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-25 14:04 Misfeature in DEC OSF/1 `ps' command Ray Bellis
1994-07-25 14:47 ` Steve Tate
1994-07-25 15:12 ` Alan Lehotsky [this message]
1994-07-25 15:19 ` Mark Bartelt
1994-07-25 15:36 ` Ray Bellis
1994-07-25 17:47 ` Andrew Gallatin
1994-07-25 19:34 ` Frank Wortner
1994-07-26  8:56 ` Horst Luehrsen
1994-07-26  9:50 ` Robin Hourahane (x8130)
1994-08-01  7:48   ` Ray Bellis
1994-07-26 11:45 ` Jon Mauney
1994-07-26 12:45   ` Larry Cannell
1994-07-26 19:49 ` Mary Walker
1994-07-29  8:30 ` Jean-Luc Bernard
1994-07-30 14:06 ` Joseph B. Gurman
1994-08-04 18:44 ` Carl J Appellof
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox