On Fri, Feb 10, 2012 at 5:55 AM, balaji <[email protected]> wrote:
>
>
> HI Gonzalo ,
>
>   Thanks for the info..
>
> Can you clarify the following....
>
>>>>Is there any possibility to get performance counter values for non-mono
> specific processes of a linux machine through C# program.
>
>  i have tried to get performance counter values for a mono process....some
> how i was successful but not for other processes
>  running under linux.
>
> In mono release note under performance counters they mention that
>
> "performance counters will work only with in the mono process but not across
> the processes" what is it mean?

It means that only mono processes are able to produce the performance
counters. If you provide a PID of another process, everything will be
0. However, you could see how Mono generates some of those performance
counters (number of threads, memory) and do the same. Some of that
data comes from /proc/[PID] or similar.

-Gonzalo
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to