SirScan scan specification: Difference between revisions
m (typos) |
m (replace graphic) |
||
Line 9: | Line 9: | ||
<p class="caption" style="width:430px">Journal Scan Criteria screen</p> | <p class="caption" style="width:430px">Journal Scan Criteria screen</p> | ||
<p class="figure">[[File: | <p class="figure">[[File:ScanCriteria.png|430px]]</p> | ||
This screen allows the user to specify the journal data to be retrieved | This screen allows the user to specify the journal data to be retrieved | ||
Line 15: | Line 15: | ||
Input fields are: | Input fields are: | ||
<table class="thJustBold"> | <table class="thJustBold"> | ||
<tr><th>Start | <tr><th>Start time</th> | ||
<td>Formatted | <td>Formatted HH:MM:SS or -MMMMMM. The earliest audit trail entry to be formatted. The second syntax identifies the number of minutes to go back from the current time to begin formatting the journal. | ||
If <b>Start</b> | If <b>Start time</b> is not specified, data is formatted from the start of the run or the oldest ring journal (if using ring journals) if the requesting user is a system manager (or is in one of the [[ADMIN SCLASS]]es). Otherwise data is formatted from the logon time of the requesting user.</td></tr> | ||
Otherwise data is formatted from the logon time of the requesting user.</td></tr> | |||
<tr><th>Start | <tr><th>Start date</th> | ||
<td>Formatted | <td>Formatted YY/MM/DD. The date of the earliest audit trail entry to be formatted. | ||
If this is not specified, it is determined based on the start time. If the start time is less than the current time the current date is used, otherwise yesterday's date is used.</td></tr> | If this is not specified, it is determined based on the start time. If the start time is less than the current time the current date is used, otherwise yesterday's date is used.</td></tr> | ||
<tr><th>Interval</th> | <tr><th>Interval</th> | ||
<td>Valid formats are | <td>Valid formats are MM:SS, HH:MM:SS, or MMMMMMM, where <code>H</code> is hours, <code>M</code> is minutes, and <code>S</code> is seconds. | ||
If an interval is not specified, data is formatted up to the current time (or until I/O limits are hit). In addition, by leaving this time blank, <var class="product">SirScan</var> runs in | If an interval is not specified, data is formatted up to the current time (or until I/O limits are hit). In addition, by leaving this time blank, <var class="product">SirScan</var> runs in [[SirScan browsing of the journal#autoref|auto-refresh mode]], so the data being scanned is constantly refreshed to reflect any new audit trail data that was generated after the initial data was collected.</td></tr> | ||
<tr><th>User</th> | <tr><th>User</th> | ||
<td>Users to be included in the formatted output. This input field indicates which thread's/user's audit entries will be viewed. | <td>Users to be included in the formatted output. This input field indicates which thread's/user's audit entries will be viewed. | ||
The selection criteria can be a set of blank or comma delimited "phrases," each made up of one or more "clauses" separated by the ampersand (<code>& | The selection criteria can be a set of blank or comma delimited "phrases," each made up of one or more "clauses" separated by the ampersand (<code>&</code>) symbol. Each clause can contain one of the following criteria: | ||
<table> | <table> | ||
<tr><th><var>IODEV</var><i>n</i></th> | <tr><th><var>IODEV</var><i>n</i></th> | ||
Line 60: | Line 58: | ||
</table> | </table> | ||
<p> | <p> | ||
Criteria can be mixed and matched using the <code>& | Criteria can be mixed and matched using the <code>&</code> separator, which indicates an "And" operation, or using blanks or commas, which indicate an "Or" operation. For example, the following string | ||
requests information for all <var>IODEV</var> 15 threads logged on as userid <code>LENIN</code>, and requests all the information for user numbers 11 through 20:</p> | requests information for all <var>IODEV</var> 15 threads logged on as userid <code>LENIN</code>, and requests all the information for user numbers 11 through 20:</p> | ||
<p class="code"><nowiki>IODEV15& | <p class="code"><nowiki>IODEV15&LENIN 11-20 | ||
</nowiki></p> | </nowiki></p> | ||
<p>And this:</p> | <p>And this:</p> | ||
Line 88: | Line 86: | ||
<p> | <p> | ||
Users in <var>USER_HI</var>, <var>USER_MED</var> or <var>USER_LO</var> SCLASSes, no matter what selection criteria are specified, are only able to view audit entries associated with their own userid or, if the system <var>SCANPARM</var> 1 bit is set, | Users in <var>USER_HI</var>, <var>USER_MED</var> or <var>USER_LO</var> SCLASSes, no matter what selection criteria are specified, are only able to view audit entries associated with their own userid or, if the system <var>SCANPARM</var> 1 bit is set, | ||
entries for public logins on Janus Web threads. | entries for public logins on [[Janus Web Server]] threads. | ||
So if a user in the <var>USER_MED</var> SCLASS specifies the following for a selection criterion: </p> | So if a user in the <var>USER_MED</var> SCLASS specifies the following for a selection criterion: </p> | ||
<p class="code"><nowiki>IODEV15 | <p class="code"><nowiki>IODEV15 | ||
Line 106: | Line 104: | ||
<var class="product">SirScan</var>s behavior can be made completely consistent and predictable at a (hopefully slight) cost.</p> | <var class="product">SirScan</var>s behavior can be made completely consistent and predictable at a (hopefully slight) cost.</p> | ||
<p> | <p> | ||
If no criteria are specified for <b> | If no criteria are specified for <b>User</b>, only audit entries for the requesting user are displayed. | ||
< | </p> | ||
<var class="product">SirScan</var> has not been purchased but instead is automatically authorized by <var class="product">Limited Janus Web Server</var>. | <blockquote class="note"> | ||
<var class="product">Limited Janus Web Server</var> is a free, restricted version of <var class="product">Janus Web Server</var>; they are both documented in | <p><b>Note:</b> One additional selection criterion is applied to any <b>User</b> phrase if <var class="product">SirScan</var> has not been purchased but instead is automatically authorized by <var class="product">Limited Janus Web Server</var>. <var class="product">Limited Janus Web Server</var> is a free, restricted version of <var class="product">Janus Web Server</var>; they are both documented in [[Janus Web Server]]. </p> | ||
[[Janus Web Server]] | |||
<p> | <p> | ||
You may, of course, upgrade to a full <var class="product">SirScan</var> at any time.</p></td></tr> | To assist in web development, sites that don't already have <var class="product">SirScan</var> can use it for free if they are using <var class="product">Limited Janus Web Server</var>. Sites using <var class="product">SirScan</var> for free are automatically limited to viewing the journal activity of Janus Web threads and the TCP/IP subtask; any <b>User</b> selection will thus be automatically restricted.</p> | ||
<p> | |||
You may, of course, upgrade to a full <var class="product">SirScan</var> at any time.</p> | |||
</blockquote></td></tr> | |||
<tr><th>Output Line Width</th> | <tr><th>Output Line Width</th> | ||
Line 145: | Line 143: | ||
<tr><th>Diplay Entry Dates</th> | <tr><th>Diplay Entry Dates</th> | ||
<td>This indicates whether the date of each entry is to appear in the formatted audit trail data. The dates are displayed in | <td>This indicates whether the date of each entry is to appear in the formatted audit trail data. The dates are displayed in YYMMDD format.</td></tr> | ||
<tr><th>Display Entry Times</th> | <tr><th>Display Entry Times</th> | ||
<td>This indicates whether the time of each entry is to appear in the formatted audit trail data. The times are displayed in | <td>This indicates whether the time of each entry is to appear in the formatted audit trail data. The times are displayed in HHMMSSTH format.</td></tr> | ||
<tr><th>Display Entry Types</th> | <tr><th>Display Entry Types</th> | ||
<td>This indicates each type of entry which is to be included in the formatted audit trail data. The dates are displayed in | <td>This indicates each type of entry which is to be included in the formatted audit trail data. The dates are displayed in YYMMDD format.</td></tr> | ||
<tr><th>ST</th> | <tr><th>ST</th> |
Revision as of 22:39, 29 October 2015
Installation of SirScan is described in RKTools installation.
SirScan should be installed as a private APSY subsystem
in order to use the I/O limits assigned to each SCLASS.
To access the system, enter
SIRSCAN
(or the name of the subsystem you have installed)
on the Model 204 command line.
A scan specification screen is presented:
This screen allows the user to specify the journal data to be retrieved and the format in which it should be displayed. Input fields are:
Start time | Formatted HH:MM:SS or -MMMMMM. The earliest audit trail entry to be formatted. The second syntax identifies the number of minutes to go back from the current time to begin formatting the journal. If Start time is not specified, data is formatted from the start of the run or the oldest ring journal (if using ring journals) if the requesting user is a system manager (or is in one of the ADMIN SCLASSes). Otherwise data is formatted from the logon time of the requesting user. | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Start date | Formatted YY/MM/DD. The date of the earliest audit trail entry to be formatted. If this is not specified, it is determined based on the start time. If the start time is less than the current time the current date is used, otherwise yesterday's date is used. | ||||||||||||||||||||
Interval | Valid formats are MM:SS, HH:MM:SS, or MMMMMMM, where H is hours, M is minutes, and S is seconds.
If an interval is not specified, data is formatted up to the current time (or until I/O limits are hit). In addition, by leaving this time blank, SirScan runs in auto-refresh mode, so the data being scanned is constantly refreshed to reflect any new audit trail data that was generated after the initial data was collected. | ||||||||||||||||||||
User | Users to be included in the formatted output. This input field indicates which thread's/user's audit entries will be viewed.
The selection criteria can be a set of blank or comma delimited "phrases," each made up of one or more "clauses" separated by the ampersand (
Criteria can be mixed and matched using the IODEV15&LENIN 11-20 And this: TROT*&198.242.244.33 JAN:SOCIALIST&MARX PST requests information for all of the following:
Portnames and userids can contain special wildcard characters. These characters and their meanings are:
Users in USER_HI, USER_MED or USER_LO SCLASSes, no matter what selection criteria are specified, are only able to view audit entries associated with their own userid or, if the system SCANPARM 1 bit is set, entries for public logins on Janus Web Server threads. So if a user in the USER_MED SCLASS specifies the following for a selection criterion: IODEV15 The user will be able to see only IODEV 15 activity for her own userid or perhaps for public logins to a Janus Web thread (if the SCANPARM 1 bit is set). Because the specified time interval may not include the journal entries that would allow SirScan to associate a thread's activity with a particular userid, IP address, or port number, it is possible that entries associated with a particular userid, IP address, or port number will not be formatted. It is also possible that many entries in a time interval for a requested userid, IP address, or port number will not be formatted, but those after an audit entry that allows determination of all these entities (a since-last statistic or a SirScan RK line), will be. SirScan makes every effort to use all available information (current logged on userids and log times, M204.0352 messages, M204.0118 messages, since-last stat entries, etc.) to ascertain this information about each audit trail entry, but these attempts are necessarily hit and miss: While most of the time, SirScan will pick up the desired information, it is possible that information will also seem to be inexplicably missing. Often this information can still be retrieved by varying the date/time interval.
Alternatively, if the SCANTIME system parameter is set, and the "Read extra SCANTIME seconds" switch is set to If no criteria are specified for User, only audit entries for the requesting user are displayed.
| ||||||||||||||||||||
Output Line Width | The audit trail data can be formatted for any line width from one less than the screen width to 255. The minimum output line width is 131 for MODEL 5 terminals, and it is 79 for all other terminal types. | ||||||||||||||||||||
Read extra SCANTIME seconds | This field only appears if the SCANTIME system parameter is set to a non-zero value.The value of this field must be either Y or N .
Setting this field to
| ||||||||||||||||||||
Maximum I/O's | The maximum number of full-track journal reads SirScan will perform when scanning the journal. The maximum value allowed for this field is determined by the user's subsystem SCLASS. This value should generally be kept to a relatively small number such as 100 or 1000 in the case of very busy systems to avoid accidentally scanning too much of the journal when an inappropriate time interval is specified. | ||||||||||||||||||||
Maximum records | The maximum number of journal records to be formatted by SirScan. The maximum value allowed for this field is determined by the user's subsystem SCLASS. This value should generally be kept to a reasonably small number such as 10000 to avoid accidentally building an unmanageably large list of formatted records. | ||||||||||||||||||||
Display User Numbers | This indicates whether user numbers are to appear in the fomatted audit trail data. | ||||||||||||||||||||
Display Server Numbers | This indicates whether server numbers are to appear in the fomatted audit trail data. | ||||||||||||||||||||
Diplay Entry Dates | This indicates whether the date of each entry is to appear in the formatted audit trail data. The dates are displayed in YYMMDD format. | ||||||||||||||||||||
Display Entry Times | This indicates whether the time of each entry is to appear in the formatted audit trail data. The times are displayed in HHMMSSTH format. | ||||||||||||||||||||
Display Entry Types | This indicates each type of entry which is to be included in the formatted audit trail data. The dates are displayed in YYMMDD format. | ||||||||||||||||||||
ST | Responding Y to this prompt causes ST records (all types of statistics records) to be included in the formatted output. Specifying N excludes these records. | ||||||||||||||||||||
AA | Responding Y to this prompt causes all audit type records to be included in the formatted output.
Specifying | ||||||||||||||||||||
SirScan RK | Responding Y to this prompt causes SirScan heartbeat RK messages for the SCANTIME system parameter to be formatted.
These messages largely exist to help SirScan identify threads by userid or other selection criteria and are not particularly interesting so are ordinarily suppressed regardless of the AA or RK switch settings. If this prompt is set toY the SirScan heartbeat messages will be displayed. |
Commands and function keys
The following commands and PF keys are valid on the scan specification screen:
=x.yy.z | Commands prefixed by = invoke fastpath navigation of the UL/SPF menu system. =M sends the user to the RKTools main menu if RKTools is active.
=X exits to command level. =M.4.5.2 sends the user to the "Active Subsystems" display in SirMon (if SirMon is active). |
---|---|
X | Exits to command level. |
PF1 | Accesses online help. |
---|---|
PF3 | Quit (return to command level). |