[Windows 监控]使用windows自带的工具去对某一进程实现监控,并取得这一进程对系统的资源使用情况

如何用windows自带的工具去监控某一进程对服务器资源的使用情况

通常情况下,我们会用LR去监控服务器的资源从而得到对系统并发时系统的资源使用情况。那么我们又如何使用windows自带的工具去对某一进程实现监控,并取得这一进程对系统的资源使用情况呢,如下:
1. Input the command ‘perfmon’ in the DOS console, then open the ‘Performance monitoring program’
2. Create a new data collector set from ‘Data collector Set->User Defined’
3. Input the name ‘E.g Test’and select the ‘Create manually(Advanced)’, then Click ‘Next’

4. Setting ‘What data do you want to include’ as below,Select the ‘Create data logs’ and select subitem ‘Performance counter’, then click ‘Next’

5. Setting ‘Which performance counter would you like to log?’
5.1. Click ‘Add’ to add the performance counters which is you want to moitor. E.g.
CPU,Memory,Disk, etc.

5.2. Setting the interval (Sample Interval:3, Unit: Seconds), then click ‘Next’.

6. Setting where would you like the data to be saved, then click ‘Next’

7. Select ‘save and close’, then click ‘Next’.

8. Now, you have created the data collector. But you need to set the ‘Log format’ as ‘comma separated’, and then the log will be save as ‘.csv’.

9. When you want to monitor this process, you can start this data collector. the way as below,right click the ‘test’ and click the ‘Start’.
10. After finished the test, you can obtain the log from the below path,right click the ‘test’ then click ‘properties-Directory-Example directory’. You can obtain the results as below,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值