wanghao4023030 发表于 2012-11-5 09:50:49

【已解决】有关进程监控的问题

本帖最后由 wanghao4023030 于 2012-11-7 09:40 编辑

大家好,我想做一个监控一个进程的CPU使用率,内存使用,IO使用的情况。
在AU3里面有现成的函数ProcessGetStats
The array returned is mono-dimensional and is made up as follows:
Type = 0 : Memory Stats
$array = WorkingSetSize
$array = PeakWorkingSetSize
Type = 1 : IO Stats
$array = number of read operations performed.
$array = number of write operations performed.
$array = number of I/O operations performed, other than read and write operations.
$array = number of bytes read.
$array = number of bytes write.
$array = number of bytes transferred during operations other than read and write operations.
但是其读取的出的数值和任务管理器中的聚聚有所出入,而且没有办法得到CPU的使用率,大家有什么办法可以做的像任务管理一样的方法吗?谢谢~~
页: [1]
查看完整版本: 【已解决】有关进程监控的问题