tiffany_ip
13 years agoOccasional Contributor
How to execute Linux/Unix based command lines in TestComplete scripts
Hello,
I'm trying to find out how to execute a unix based command in TestComplete. I need it to retrieve the processor's (CPU) performance data like Idle %, CPU states %, Free Memory bytes, CPU usage percentage etc.
Please note that I'm in the learning process for Linux/Unix commands and I'm trying to just set up in JScript.
This is another testing software's command line and I need to make this line in TestComplete JScript scripts:
SYS_Execute ("ssh -l root {sAppServer} ""top -b -n 1 | grep idle | head -1""'")
Thanks,
I'm trying to find out how to execute a unix based command in TestComplete. I need it to retrieve the processor's (CPU) performance data like Idle %, CPU states %, Free Memory bytes, CPU usage percentage etc.
Please note that I'm in the learning process for Linux/Unix commands and I'm trying to just set up in JScript.
This is another testing software's command line and I need to make this line in TestComplete JScript scripts:
SYS_Execute ("ssh -l root {sAppServer} ""top -b -n 1 | grep idle | head -1""'")
Thanks,