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.
-
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
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