View previous topic :: View next topic |
Author |
Message |
Jax
Joined: 12 Jan 2004 Posts: 13
|
Posted: Sun Jan 18, 2004 7:12 pm Post subject: is HM multi threaded ? |
|
|
I am trying to run many tests launched by scripts and some of the scripts can take fair a bit of time to complete, I have noticed that HM will not launch another script until the previous has finished.
So my questions are:
- Can HM run multiple tests simultanously? (multithread)
- Can HM run multiple Script tests simultanously?
If no to any of the above will it be implemented ?
Thanks |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Mon Jan 19, 2004 4:59 pm Post subject: |
|
|
Quote: |
So my questions are:
- Can HM run multiple tests simultanously? (multithread) |
Yes, of course. HostMonitor starts every test in separate thread. Option "Don't start more than [N] tests per second" sets limit for number of threads. Option located on Behavior page in the Options dialog.
Quote: | Can HM run multiple Script tests simultanously? |
HostMonitor can. Windows cannot. Actually Windows can execute several scripts in different threads of the same process. But it does not work stable.
That's why HostMonitor never starts several scripts in the same time.
Regards
Alex |
|
Back to top |
|
|
Jax
Joined: 12 Jan 2004 Posts: 13
|
Posted: Mon Jan 19, 2004 7:08 pm Post subject: |
|
|
It is a bit of a problem not being able to run more than one script concurently, I assume that it can run more than one "External Program" at a time.
Is it possible to transfer values other and error codes back to HM from tests running "External Programs" ?
Thanks |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Mon Jan 19, 2004 11:47 pm Post subject: |
|
|
It will be possible in next version of HostMonitor. It will support new test method "Shell Script" and it will be able to start several scripts simultaneously (as separate processes).
Regards
Alex |
|
Back to top |
|
|
steven.cjhsiao
Joined: 20 Aug 2007 Posts: 3
|
Posted: Tue Oct 02, 2007 9:26 pm Post subject: |
|
|
KS-Soft wrote: | It will be possible in next version of HostMonitor. It will support new test method "Shell Script" and it will be able to start several scripts simultaneously (as separate processes).
Regards
Alex |
Hello
I am using HM 6.82. I have an active script tester written by python. I met the same problem, the active script seem can't be executed simultaneously. If I use the shell script, does HM 6.82 support running multiple shell script simltaneously? or what any setting can make the active script support multithread in HM? |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Tue Oct 02, 2007 11:04 pm Post subject: |
|
|
HostMonitor starts each Shell Script test as separate process (simultaneously when nesessary). So, there should not be any problem.
Another solution: you may put Active Scripts into some folder and use "Non-simultaneously test execution" folder level option (option located on Specials page in the Folder Properties dialog)
Regards
Alex |
|
Back to top |
|
|
|