-
-
-
-
-
-
-
ns-timer
-
-
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
ns-timer
The following operations can be performed on “ns-timer”:
rm | rename | add | set | bind | unset | unbind | show |
rm ns timer
Remove a Timer.
Synopsis
rm ns timer
Arguments
name Timer name.
Example
rm ns timer timer
rename ns timer
Rename a timer.
Synopsis
rename ns timer
Arguments
name The name of the timer.
newName The new name of the timer.
Example
rename ns timer oldname newname
add ns timer
Create a Timer.
Synopsis
add ns timer
Arguments
name Timer name.
interval The frequency at which the policies bound to this timer are invoked. The minimum value is 20 msec. The maximum value is 20940 in seconds and 349 in minutes Default value: 5 Minimum value: 1 Maximum value: 20940000
unit Timer interval unit
Possible values: SEC, MIN Default value: SEC
comment Comments associated with this timer.
Example
add timer policy timer -comment “Timer that would be invoked at interval 10 sec apart.”
set ns timer
Set a argument values for existing timer.
Synopsis
set ns timer
Arguments
name Timer name.
interval The frequency at which the policies bound to this timer are invoked. The minimum value is 20 msec. The maximum value is 20940 in seconds and 349 in minutes Default value: 5 Minimum value: 1 Maximum value: 20940000
unit Timer interval unit
Possible values: SEC, MIN Default value: SEC
comment Comments associated with this timer.
Example
set ns timer timer -comment “Timer that would be invoked at interval 20 sec apart.”
bind ns timer
Defines the binding relation among timer, and timer policy.
Synopsis
bind ns timer
Arguments
name Timer name.
policyName The timer policy associated with the timer.
priority Priority with which the policy is to be bound. Minimum value: 1 Maximum value: 2147483647
gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE. o If gotoPriorityExpression is not present or if it is equal to END then the policy bank evaluation ends here o Else if the gotoPriorityExpression is equal to NEXT then the next policy in the priority order is evaluated. o Else gotoPriorityExpression is evaluated. The result of gotoPriorityExpression (which has to be a number) is processed as follows: - An UNDEF event is triggered if . gotoPriorityExpression cannot be evaluated . gotoPriorityExpression evaluates to number which is smaller than the maximum priority in the policy bank but is not same as any policy’s priority . gotoPriorityExpression evaluates to a priority that is smaller than the current policy’s priority - If the gotoPriorityExpression evaluates to the priority of the current policy then the next policy in the priority order is evaluated. - If the gotoPriorityExpression evaluates to the priority of a policy further ahead in the list then that policy will be evaluated next.
vServer Name of the vserver which provides the context for the rule in timer policy. When not specified it is treated as a Global Default context.
sampleSize Denotes the sample size. Sample size value of ‘x’ means that previous ‘(x - 1)’ policy’s rule evaluation results and the current evaluation result are present with the binding. For example, sample size of 10 means that there is a state of previous 9 policy evaluation results and also the current policy evaluation result. Default value: 3 Minimum value: 1 Maximum value: 32
threshold Denotes the threshold. If the rule of the policy in the binding relation evaluates ‘threshold size’ number of times in ‘sample size’ to true, then the corresponding action is taken. Its value needs to be less than or equal to the sample size value. Default value: 3 Minimum value: 1 Maximum value: 32
Example
i) bind ns timer timer_trigger -policyName timer_pol -priority 1 ii) bind ns timer timer_trigger -policyName timer_pol -priority 1
unset ns timer
Unset comment for existing timer..Refer to the set ns timer command for meanings of the arguments.
Synopsis
unset ns timer
Example
unset ns timer timer -comment
unbind ns timer
Unbind entities from timer
Synopsis
unbind ns timer
Arguments
name Timer name.
policyName The timer policy associated with the timer.
Example
unbind ns timer timer -policyName timer_pol
show ns timer
Display the Timer entities.
Synopsis
show ns timer [
Arguments
name Timer name.
Output
interval The frequency at which the policies bound to this timer are invoked. The minimum value is 20 msec. The maximum value is 20940 in seconds and 349 in minutes
unit Timer interval unit
comment Comments associated with this timer.
policyName The timer policy associated with the timer.
priority Specifies the priority of the timer policy.
gotoPriorityExpression Expression specifying the priority of the next policy which will get evaluated if the current policy rule evaluates to TRUE.
vServer Name of the vserver which provides the context for the rule in timer policy. When not specified it is treated as a Global Default context.
sampleSize Denotes the sample size. Sample size value of ‘x’ means that previous ‘(x - 1)’ policy’s rule evaluation results and the current evaluation result are present with the binding. For example, sample size of 10 means that there is a state of previous 9 policy evaluation results and also the current policy evaluation result.
threshold Denotes the threshold. If the rule of the policy in the binding relation evaluates ‘threshold size’ number of times in ‘sample size’ to true, then the corresponding action is taken. Its value needs to be less than or equal to the sample size value.
stateflag bindPolicyType devno count
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.