delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/19/00:19:37

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.2.7.0.20001018231152.00c70100@pop.bresnanlink.net>
X-Sender: cabbey AT pop DOT bresnanlink DOT net
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Wed, 18 Oct 2000 23:17:59 -0500
To: cygwin AT sources DOT redhat DOT com
From: Chris Abbey <cabbey AT chartermi DOT net>
Subject: Re: ps output format
In-Reply-To: <20001018235126.A17066@cygnus.com>
References: <4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001018223411 DOT 00c75c50 AT pop DOT bresnanlink DOT net>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001018221146 DOT 00c6f190 AT pop DOT bresnanlink DOT net>
<5206-Wed18Oct2000223844+0100-starksb AT ebi DOT ac DOT uk>
<2443-Wed11Oct2000213946+0100-starksb AT ebi DOT ac DOT uk>
<20001011164208 DOT A13281 AT cygnus DOT com>
<5206-Wed18Oct2000223844+0100-starksb AT ebi DOT ac DOT uk>
<20001018225426 DOT B15652 AT cygnus DOT com>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001018221146 DOT 00c6f190 AT pop DOT bresnanlink DOT net>
<20001018232320 DOT D15926 AT cygnus DOT com>
<4 DOT 3 DOT 2 DOT 7 DOT 0 DOT 20001018223411 DOT 00c75c50 AT pop DOT bresnanlink DOT net>
Mime-Version: 1.0

At 23:51 10/18/00 -0400, Christopher Faylor wrote:
>If you are aware of an existing ps implementation that does this,
>though, I wouldn't mind a patch to have ps emulate it.  The ps code is
>really pretty simple so it should not be hard to modify.

there are none. any new format I came up with would be unique, and
I'd have to hope the others would adopt it... some would (justifably)
tell me to use their format specifier... but that just leads back to
the same path because the format specifier isn't spec'd and so they
all use subtly different options. I spent almost a month trying to
port a really great script called top10vms so that it would run under:
cygwin, aix, solaris, hp/ux, reliant, and linux. I eventually gave up
even trying to get it to *work* on reliant and hp/ux, and the others
were eventually done with the equivalent of #ifdefs. The net that I
learned is that some platforms have RUN OUT of option letters for ps.
The day I learned ps -a, ps -A, ps a, and ps A are all legal and
completely different on the same box with the same binary is the
day I lost it.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019