[Mono-dev] Mono.Unix Process helpppp !!!

Jonathan Pryor jonpryor at vt.edu
Sun Nov 2 22:20:28 EST 2008


On Wed, 2008-10-29 at 02:12 -0700, Mesut Özkan wrote:
> hi friends...i use mono develop and i can create a unix ( solaris )program 
> this program should list Unix Process...

I'm assuming you mean _all_ Unix processes, as shown by ps(1)...

> which reference should i use ?
> which method should i use ?

You don't refer to anything, nor use anything.  Mono.Unix has no support
for listing all running processes, because there is no POSIX standard
mechanism to obtain such information (that I know of).  Obtaining such
information is entirely platform-dependent, e.g. listing /proc on Linux.

You should either write an abstraction layer or look into an existing
abstraction utility (e.g. whatever gnome-system-monitor uses).

 - Jon




More information about the Mono-devel-list mailing list