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

Item Description
-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.

Security

Attention RBAC users and Trusted AIX users: This command can perform privileged operations. Only privileged users can run privileged operations. For more information about authorizations and privileges, see Privileged Command Database in AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

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

Item Description
/usr/sbin/strinfo Contains the strinfo command.