[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 5


strinfo Command

Purpose

Displays administrative information about STREAMS activity.

Syntax

strinfo -m | -q

Description

The strinfo command displays information for debugging purposes about STREAMS, drivers and modules, or stream heads and the STREAMS run queue.

Flags


-m Displays information on drivers and modules present in STREAMS.
-q Displays informations on active stream heads, and on the run queue which holds the STREAMS module and driver service procedures.

Examples

  1. To display information about STREAMS drivers and modules in use, enter:
    strinfo -m
    This produces a listing similar to the following:

    Device: 'sad', dcookie 0xf, flags:0x4, str 0x19a69e8
    Device: 'slog', dcookie 0x10, flags:0x4, str 0x19a6c18
    Device: 'rs', dcookie 0x11, flags:0x2, str 0x19bcb00
    Module: 'bufcall', flags:0x1, str 0x19a5c00
    Module: 'ldterm', flags:0x0, str 0x19cc858
    

    In this example dcookie indicates the major number, flags indicates the flags configuration, and str is the STREAMS table address.

  2. To display information about active stream heads and the STREAMS run queue, enter:
    strinfo -q
    This produces a listing similar to the following:

    Active Stream Heads
    sth      sth_dev  sth_rq   sth_wq   sth_flag rq->q_first
    05a7ee00 00110001 05ad7000 05ad7074 00000818 00000000
     
    STREAMS Service Queue
    Queue 0x5ad7000 Flags 0x10
    

File


/usr/sbin/strinfo Contains the strinfo command.

Related Information

List of Streams Commands in AIX 5L Version 5.1 Communications Programming Concepts.

STREAMS Overview in AIX 5L Version 5.1 Communications Programming Concepts.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]