On Fri, 2006-03-10 at 16:36 +0800, Li wrote:
> I'd like to get the process's stats,e.g. MEM%,CPU% and CPU_idle
> %,MEN_idle% in mono platform. Anybody could help me?
> Thank you very much!

There are no classes within Mono to obtain this information; thus,
you'll have to do so manually.

To do so, you can read the /proc filesystem directly,
e.g. /proc/PID/status contains some status information, or you can
P/Invoke into libgtop or some other library to obtain this information.

 - Jon


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

Reply via email to