delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/13:05:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.2.20030131095824.032d27a0@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 31 Jan 2003 10:03:16 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: ps does not show all the processes ?
In-Reply-To: <3E3AB730.8030305@polyspace.com>
Mime-Version: 1.0

Gael,

% ps --help
Usage: ps [-aefls] [-u UID]
  -a, --all       show processes of all users
  -e, --everyone  show processes of all users
  -f, --full      show process uids, ppids
  -h, --help      output usage information and exit
  -l, --long      show process uids, ppids, pgids, winpids
  -s, --summary   show process summary
  -u, --user      list processes owned by UID
  -v, --version   output version information and exit
  -W, --windows   show windows as well as cygwin processes
With no options, ps outputs the long format by default


On my system, "ps -aeW" (at the moment) shows 56 running processes. 
About the biggest flaw I can see, and it's very minor, is that the 
"System Idle Process" is shown in "ps" output as "*** unknown ***".

Also, I don't think of using the available options, including "--help" 
(not to mention "man ps" or "info ps" or "pinfo ps") are in the 
category of "work-arounds."

You might want to investigate "procps". My favorite thing about it is 
its ability show the actual command line of running processes. (Cygwin 
ones, anyway. And really, what else matters?)

Randall "the curmudgeon" Schulz


At 09:49 2003-01-31, Gael Mulat wrote:
>    Hi,
>
>    I've noticed that ps -aux does not show all the processes that we 
> can see with Task Manager. I can imagine that we cannot see some 
> completely native processes, but it is also the case for some 
> processes launched via cygwin !
>
>    Is there a reason for that behaviour ? Is there a workaround ?
>
>
>    I'm on W2k, Cygwin 1.3.17.
>
>...
>
>Gael.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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