{"id":4078,"date":"2019-02-12T16:21:57","date_gmt":"2019-02-12T16:21:57","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/10-test-scheduler\/vrbls_to_stat\/"},"modified":"2026-02-12T13:22:46","modified_gmt":"2026-02-12T18:22:46","slug":"vrbls_to_stat","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/10-standard-services\/vrbls_to_stat\/","title":{"rendered":"vrbls_to_stat"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Compute and update statistics for a list of CyFlex variables specified in a spec file at regular intervals.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>vrbls_to_stat<\/strong> &lt;filename&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table style=\"width: 98.8364%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 8.92019%;\">\n<p>filename<\/p>\n<\/td>\n<td style=\"width: 94.4464%;\">\n<p>Specify the spec filename that contains the information needed to create a statistical variable that contains the statistics for a list of variables.<\/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>vrbls_to_stat<\/strong> \/specs\/vrbls_to_stat.spec<br \/>\nThe above computes the statistics of a group of CyFlex variables that are listed in the spec file \/specs\/vrbls_to_stat.specs.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The statistics are re-computed from the list of variables on each &#8216;@INTERVAL&#8217;. The values do not accumulate. For each interval, the statistics are cleared and re-computed from the new values of the variables.<\/p>\n<\/dd>\n<\/dl>\n<div>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0The\u00a0following\u00a0is\u00a0an\u00a0example\u00a0spec\u00a0file: \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@STAT_VARIABLE \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0# the name of the statistical variable that will contain the statistics of the &#8216;@VARIABLES&#8217;<\/div>\n<div>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Vrbls_stat \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@INTERVAL \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0# the periodic interval that the &#8216;@VARIABLES&#8217; are sampled. \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a01[sec] \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@VARIABLES \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vrbl_tmp1 \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vrbl_tmp2 \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vrbl_tmp3 \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vrbl_tmp4 \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0vrbl_tmp5 \u00a0<br \/>\n\u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0@SYNC_EVENT \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0# optional event name that will be set when the Stat Variable has been updated. It will be <br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # created if it doesn\u2019t exist \u00a0<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Vrbls_stat_rdy \u00a0<\/div>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Compute and update statistics for a list of CyFlex variables specified in a spec file at regular intervals. Enter: vrbls_to_stat &lt;filename&gt; Where: filename Specify the spec filename that contains the information needed to create a statistical variable that contains the statistics for a list of variables. Example: vrbls_to_stat \/specs\/vrbls_to_stat.spec The above computes the statistics [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1950,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4078","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4078","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=4078"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4078\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1950"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=4078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}