Re: [Mono-dev] Obtain the available memory

2005-08-25 Thread Rafael Ferreira
Parsing the output of "top" would be a hideous solution. A slightly better one would be to parse /proc/meminfo. But that would be a linux only implementation and it would have to be reimplemented on other platforms. FYI, this discussion is better suited for the mono users list, not mono-dev. -

Re: [Mono-dev] Obtain the available memory

2005-08-25 Thread Paolo Molaro
On 08/25/05 Joannes Vermorel wrote: > I have seen that the PerformanceCounter class is yet unimplemented in mono, > yet, I would like to emulate with mono, the following > > > PerformanceCounter counter = > new PerformanceCounter("Memory", "Available Bytes"); > > > There is the possibili

Re: [Mono-dev] Obtain the available memory

2005-08-25 Thread Paul F. Johnson
Hi, > I have seen that the PerformanceCounter class is yet unimplemented in mono, > yet, I would like to emulate with mono, the following > > > PerformanceCounter counter = > new PerformanceCounter("Memory", "Available Bytes"); > > > There is the possibility to resort to command-line an