Previous Topic: Disk I/ONext Topic: CPU Usage


Monitor Terminal I/O

Use the following procedure to monitor terminal I/O.

To monitor terminal I/Os

  1. Run the mapping utility (RHDCMPUT) for a report on a specific map. This report will display a picture of the map and the attributes currently assigned to the map. The report will also indicate whether BACKSCAN is enabled for any mapping fields. If BACKSCAN is in effect and the NEWPAGE option on the ADSO statement has been selected, extraneous data from the previous mapout may be left on the screen when a map is redisplayed. It is advantageous to have NEWPAGE in effect, however, because this option increases runtime efficiency by reducing the number of data fields that need to be transmitted to the terminal.
  2. Use DCMT VARY PTERM physical-terminal-id TRACE ALLIO to cause the data stream being transmitted to the terminal to be written to the log as well.
  3. Use SHOWMAP map-name with DCUF USERTRACE to cause the data stream of a particular map to be traced.
  4. Use DCMT VARY PTERM physical-terminal-id TRACE ALLIO OFF to turn off the trace, suppressing any further transmission of data streams to the log.
  5. Run the PRINT LOG utility to show the actual trace.

Transmission times can be calculated by analyzing the length of the data stream.