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

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: <3E3AB730.8030305@polyspace.com>
Date: Fri, 31 Jan 2003 18:49:36 +0100
From: Gael Mulat <Gael DOT Mulat AT polyspace DOT com>
Organization: PolySpace Technologies
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0
X-Accept-Language: en-us, en, fr-fr
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: ps does not show all the processes ?

    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.

    Here are some precisions about my situation:
    A few days ago, I posted about the /bin/rm -rf problem with locked 
files that makes the rm take 100% of the CPU. As far as I can see, 
things are happening like:
- a first process works in a directory
- I loose the contact with that process (mostly because something was 
wrong), but it is still alive
- a second process (second execution of my tool) tries to remove the 
directory with /bin/rm -rf and goes into an infinite loop, taking 100% 
of CPU
- I can't even kill the first process as I cannot see it with ps !
Note: I use to connect to the machine with sshd, so I cannot launch Task 
Manager...

    I have replaced all my rm -rf with chmod -Rf +w and rm -r, but it 
does not fix my problem as I can no more work on the same directory: it 
is locked :-(

    Hints are welcome...

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