Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: <3D51B2E1.6010608@mscha.org> Date: Thu, 08 Aug 2002 01:53:05 +0200 From: Michael Schaap User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1b) Gecko/20020722 X-Accept-Language: en-us, en MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: Top reporting on cygwin processes only? References: <20020805223042 DOT 39e9de67 DOT jim DOT george AT blueyonder DOT co DOT uk><20020806095533 DOT O3921 AT cygbert DOT vinschen DOT de><20020806112623 DOT 2950e6f5 DOT jim DOT george AT blueyonder DOT co DOT uk><20020806142354 DOT GA19193 AT redhat DOT com> <20020806210752 DOT 24512cc5 DOT jim DOT george AT blueyonder DOT co DOT uk> <00c601c23e35$79aa7c00$0100a8c0 AT atomice DOT net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: at mscha.org by amavisd-milter (http://amavis.org/) On 7-8-2002 19:11, Chris January wrote: > > Ideally ps would use /proc, rather than cygwin_internal. IMHO, a procps > derived version of ps should be included with Cygwin - but it should be > modified to support Windows processes. The best way to do this is to add > Windows processes to /proc, perhaps when an environment variable is set. > I already have nearly all the code lying around on my hard disk to do this - > it's just a case of recovering from the flu and waiting for my RSI to heal - > so maybe in a few months.... :-) How about perhaps keeping /proc for only Cygwin processes, and using, for instance, /proc/win for all Windows processes? Then it'd be fairly simple to create a patch for procps to support "ps -W" (and "top -W"?) Good luck with the flu and RSI, - Michael -- 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/