10 Feb 06:43
Performance counters are not working under linux mono platform
balaji <balajit <at> amiindia.co.in>
2012-02-10 05:43:44 GMT
2012-02-10 05:43:44 GMT
Hi,
Does anyone know why Performance counters return zero value in the code
below when executing under linux mono platform.
(OR)
How to get a process performance counters like CPU,Memory,Thread
count,Handle Count and other resource utilization of a machine,when the
process is running in a remote machine?
The code below works with MS Visual Studio under Windows but simply won't
work with Mono 2.10.5 under linux i.e performance counter values are
zero.why?
/* This uses remoting */
/ * Run this application in the remote machine where the actual
*
*/
#define DEBUG_PERFORMANCE
using System;
using System.Diagnostics;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
class Program
(Continue reading)
-Gonzalo
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
RSS Feed