Application/process memory usage

How can i determine what the memory footprint of a process or application is?
Also, anyway to determine what precentage of the CPU a process is utilizing or whether it is idle?

thanks

[197 byte] By [farseer] at [2008-2-24]
# 1
Try using PocketController www.soti.net
JohnLynch at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...
# 2
If your application is managed, you can use perfomance counters to analyze the memory usage:
http://msdn.microsoft.com/library/en-us/dnnetcomp/html/netcfperf.asp

"Peak bytes allocated" will give you a max amount of memory allocated by the runtime when running your app.
Please note that .NetCF perfomance counters won't cover allocations performed down in native code (while in p/invoke function or COM interop call).

This posting is provided "AS IS" with no warranties, and confers no rights.

RomanBatoukov at 2007-9-9 > top of Msdn Tech,Smart Device Development,.NET Compact Framework...