[Mono-dev] System.Diagnostics.Process.GetProcesses()

mike.hull at coversant.net mike.hull at coversant.net
Mon Feb 6 16:51:39 EST 2006


Carlos Solorzano wrote:
> On:
> http://bugzilla.ximian.com/show_bug.cgi?id=77196
> they mention another bug about it. Doesn't sound like its going to get 
> fixed anytime soon, I went with reading /proc which worked out better 
> because I needed to know if something was a zombie as well.
>
> --Carlos
>
> On Feb 6, 2006, at 9:02 AM, Jonathan S. Chambers wrote:
>
>>     I'm using the System.Diagnostics.Process.GetProcesses() method
>> on mono on Linux. The only process it returns me is the currently
>> executing managed app (ProcessTest.exe for example). Is this correct (I
>> was expecting all processes on the machine)? This is the behavior as a
>> regular user and as root (with latest from svn).
>>
>> - Jonathan
>>
I have some code for reading the /proc files.  Here it is, it probably 
needs to be cleaned up and tested a bit. 

--
Mike Hull
http://www.coversant.net

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UnixProcStatus.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060206/1d908b44/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: UnixProcStatusList.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060206/1d908b44/attachment-0001.pl 


More information about the Mono-devel-list mailing list