This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]