{"id":3882,"date":"2019-02-12T16:10:05","date_gmt":"2019-02-12T16:10:05","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/14-statistical-sampling\/run_aver\/"},"modified":"2025-11-13T11:14:09","modified_gmt":"2025-11-13T16:14:09","slug":"run_aver","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/8-statistical-sampling\/run_aver\/","title":{"rendered":"run_aver"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Calculate running average of CyFlex variables.<\/p>\n<p>This application performs statistical calculation and consumes a larger portion of CPU time. If a running mean average is all that is required use the <a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/8-statistical-sampling\/rave\/\">rave<\/a> application.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>run_aver<\/strong> &lt;name&gt; &lt;priority&gt; &lt;interval1&gt; [intervalX\u2026] [+c]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>name<\/p>\n<\/td>\n<td>\n<p>Specify the name to use to register this instance with the OS.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>priority<\/p>\n<\/td>\n<td>\n<p>Specify the priority of this instance to assign to this task by the OS.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>interval1<\/p>\n<\/td>\n<td>\n<p>Specify the period interval at which this task will communicate with the master scheduler. The value of this argument must be one of the intervals supported by the scheduler task.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>intervalX<\/p>\n<\/td>\n<td>\n<p>Optional. Specify additional intervals this task will use to communicate with the scheduler. They must be one of the intervals supported by the scheduler task. A total of three intervals may be specified.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>+c<\/p>\n<\/td>\n<td>\n<p>Optional. Specify this flag to indicate the task will be registered with the scheduler as a critical task.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>run_aver<\/strong> RA_smoc 14 1000 +c&amp;<br \/>\nThe above command spawns the task &#8216;run_aver&#8217; in the background. The registered name with the OS is &#8216;RA_smoc&#8217;. The task will be assigned a priority of 14 with the OS and the interval used to communicate with the scheduler is 1.0 sec. It will also be registered with the scheduler\u00a0as a critical task.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Once the task is running it must be configured by executing the ra_specs command. Averaging intervals can be defined by sample count or CyFlex events.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/8-statistical-sampling\/ra_specs\/\">ra_specs<\/a>, <a href=\"\/index.php\/usage-help-manual\/10-standard-services\/scheduler\/\">scheduler<\/a>, <a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/8-statistical-sampling\/rave\/\">rave<\/a>,\u00a0<a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/Statistical-Variables-and-Sampling.pdf\">Statistical Variables and Sampling<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Calculate running average of CyFlex variables. This application performs statistical calculation and consumes a larger portion of CPU time. If a running mean average is all that is required use the rave application. Enter: run_aver &lt;name&gt; &lt;priority&gt; &lt;interval1&gt; [intervalX\u2026] [+c] Where: name Specify the name to use to register this instance with the OS. [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1961,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3882","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3882","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3882"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3882\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1961"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3882"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}