{"id":6139,"date":"2019-05-29T14:39:11","date_gmt":"2019-05-29T14:39:11","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=6139"},"modified":"2021-05-13T17:55:29","modified_gmt":"2021-05-13T17:55:29","slug":"errs","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/errs\/","title":{"rendered":"errs"},"content":{"rendered":"<div>\n<h3>CyFlex 6.3 versions<\/h3>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Retrieve errors from the error manager database. The retrieved errors are written to a readable file.\u00a0<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>errs<\/strong>\u00a0 t=[start_time]\u00a0 c=[count]\u00a0 n=[name]\u00a0 p=[process_name]\u00a0 tid=[Process ID]\u00a0 f=[filename]\u00a0 [debug]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl><\/dl>\n<table style=\"border-collapse: collapse; width: 97.0987%; height: 168px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">t<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify an epoch time to display errors after the given epoch time. The default is the duration since the last go. Note that using a time value is easier.\u00a0\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">c<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify the maximum number of errors to display. The default is 1000 errors.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">n<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify the path and name of the database to query.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">p<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify the process name to pull on errors related to the process name. Note this does not work with the process ID argument.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">tid<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify the process ID to pull on errors related to the process ID. Note this does not work with the process name argument.<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">f<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Specify a path and filename to pipe the output.\u00a0\u00a0<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 12.1934%; height: 24px;\">debug<\/td>\n<td style=\"width: 101.709%; height: 24px;\">Optional. Debug mode. This prints all of the errors to the console as well as the file, so should not be used by default.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>errs<\/strong><\/p>\n<p>The above command displays a list of 1000 of the newest errors logged since the last &#8216;go&#8217; was performed or the last &#8216;clear_error&#8217; command.<\/p>\n<p><strong>errs<\/strong> c=500<\/p>\n<p>The above command displays a list of the 500\u00a0newest errors logged since the last &#8216;go&#8217; was performed or since the last &#8216;clear error&#8217; command.<\/p>\n<p><strong>errs<\/strong> c=1500 t=0<\/p>\n<p>The above command displays a list of the 1500 newest errors logged since the beginning of time.<\/p>\n<p><strong>errs<\/strong> name=\/data\/errors\/errors.db_backup<\/p>\n<p>The above command displays a list of the 1000 newest errors logged since the last &#8216;go&#8217; from the errors.db_backup database.<\/p>\n<p><strong>errs<\/strong> p=cell_mon<\/p>\n<p>The above command displays the 1000 newest errors generated by &#8216;cell_mon&#8217; CyFlex task.<\/p>\n<p><strong>errs<\/strong> tid=12345<\/p>\n<p>The above command displays the 1000 newest errors generated by the process ID of 12345. This argument can be particularly useful when you are looking for a specific instance of a task that has multiple versions of it running like &#8216;gp_test&#8217; or &#8216;compvar&#8217;. You can find the process ID by running the &#8216;sin&#8217; command. Example:\u00a0 sin -P compvar<\/p>\n<p><strong>errs<\/strong> p=cell_mon\u00a0 f=\/tmp\/cell_mon.errors<\/p>\n<p>The above command displays the 1000 newest errors generated by &#8216;cell_mon&#8217; CyFlex task and output the errors to a file\u00a0called \/tmp\/cell_mon.errors<\/p>\n<p><strong>errs<\/strong>\u00a0 t=0\u00a0 name=\/data\/errors\/errors.db_backup\u00a0\u00a0 p=cell_mon\u00a0 f=\/tmp\/cell_mon.errors\u00a0 c=100<\/p>\n<p>The above command displays the 100 newest errors generated by &#8216;cell_mon&#8217; from the errors.db_backup since the beginning of time.<\/p>\n<\/dd>\n<\/dl>\n<h3>CyFlex.6.2 versions<\/h3>\n<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Display a list of all errors logged since the last &#8216;go&#8217; was performed or the last &#8216;clear_error&#8217; command.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>errs<\/strong><\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<p style=\"padding-left: 40px;\">N\/A<\/p>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<pre><strong><span style=\"font-family: georgia,palatino,serif;\">errs<\/span><\/strong><\/pre>\n<p>The above command displays a list of all the errors logged since the last &#8216;go&#8217; was performed or the last &#8216;clear_error&#8217; command.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n","protected":false},"excerpt":{"rendered":"<p>CyFlex 6.3 versions Purpose: Retrieve errors from the error manager database. The retrieved errors are written to a readable file.\u00a0 Enter: errs\u00a0 t=[start_time]\u00a0 c=[count]\u00a0 n=[name]\u00a0 p=[process_name]\u00a0 tid=[Process ID]\u00a0 f=[filename]\u00a0 [debug] Where: t Optional. Specify an epoch time to display errors after the given epoch time. The default is the duration since the last go. Note [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-6139","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/6139","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=6139"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/6139\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=6139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}