poissonrunpoissonrun takes a PROBSPEC and a command as inputs and runs the command at random times depending on the PROBSPEC | |
Download |
poissonrun Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Heikki Orsila
- Publisher web site:
- http://zakalwe.fi/~shd/foss/poissonrun/
- Operating Systems:
- Mac OS X
- File Size:
- 4 KB
poissonrun Tags
poissonrun Description
poissonrun takes a PROBSPEC and a command as inputs and runs the command at random times depending on the PROBSPEC poissonrun takes a PROBSPEC and a command as inputs and runs the command at random times depending on the PROBSPEC. PROBSEC will determine value T sothat the command will be run every T seconds on average. Each run will be independent of other runs. If the command is run at time t, it is equally likely to be run at time t d, where d will be the time delay between intervals.The probability specification PROBSPEC can be given in two forms. In the firstcase, PROBSPEC is a pure value (T) determining time interval in seconds.The command will be run every T second on average. The time interval is givenas a floating-point number.In the second case, PROBSPEC has form p=x, where x is a probability of thecommand being run at any random invocation. For example, if x=0.1, the eventoccurs, on average, once in 10 runs.Randomization happens once every second, or if "--sleep t" is given,randomization happens every "t" seconds. However, only one instance of thecommand is being run at any given time, unless -f option is used (fork and forget), in which case many commands be in running state simultaneously.If -f is not used, time interval T should be much greater than commandexecution time so that poisson process is statistically reasonable.
poissonrun Related Software