批处理脚本实现Aida64测试工具的System Stability Test项目自动测试

批处理脚本实现Aida64测试工具的System Stability Test项目自动测试

自动测试脚本编写背景:
因为最近要使用Aida64测试工具的System Stability Test项目测试整机的稳定性能,整机数量总共有100台
不可能一台台去点击Aida64工具进行测试,后面写了个批处理脚本,省去大量点击操作时间

1、Aida64测试工具
下载网址:https://pan.baidu.com/s/1nHs48n9m9sKgIRhzo0tfcQ
2、批处理脚本

@echo off
:start
AIDA64 /SST CPU,FPU,RAM /SSTDUR 15 
echo System Stability Test Pass

Aida64测试工具System Stability Test项目参数说明

System Stability Test

The following command-line options can be used to automatize stressing the system using the AIDA64 System Stability Test: 

/SST [subtests] 

This option can be used to automatically open the System Stability Test window when AIDA64 loads up, and start the system stress test right away. When no subtests is specified, all subtests are enabled. To specify which subtest to enable, the name of subtests should be listed, separated by comma. In subtests the following subtest names can be used: 

· CPU  
 
· FPU  
 
· Cache  
 
· RAM  
 
· Disk  
 
· GPU  
 
  

Example: AIDA64 /SST CPU,FPU,RAM /SSTDUR 15 

/SSTDUR  

This option can be used to set the duration of the stress test in minutes. When /SSTDUR is not specified, the stress test will run until it's manually stopped by the user. 

/SSTDISKWRITE 

This option can be used to switch disk stressing from the default random read method to linear file writing. For SSDs linear write usually makes the device consume more power and heat up more, but it also shortens the lifecycle of the SSD by wearing out flash memory cells. Make sure to use this option with extra caution! 

你可能感兴趣的:(批处理学习总结)