1、获取为关联的进程分配的物理内存:System.Diagnostics.Process.GetCurrentProcess().WorkingSet64.ToString();
2、进程启动时间:System.Diagnostics.Process.GetCurrentProcess().StartTime.ToString();
3、系统运行CPU时间:System.Diagnostics.Process.GetCurrentProcess().PrivilegedProcessorTime.ToString();
4、AspNet线程池线程数上限:System.Threading.ThreadPool.GetMaxThreads(out maxThreadNum, out portThreadNum);(maxThreadNum,portThreadNum为两个int变量)
5、当前AspNet运行线程数:int Threadcount=0;foreach (System.Diagnostics.ProcessThread thread in System.Diagnostics.Process.GetCurrentProcess().Threads){Threadcount++;}
6、系统平均CPU占用率,7、AspNet IO线程数上限,8、AspNet IO线程可用数,9、当前系统缓存对象,10、当前待生成静态页数,11、系统平均CPU占用率,12、生成静态页线程状态
这12个功能希望和大家一起讨论下···还有六没出来···希望各位大虾帮帮忙啊!!!!