Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;strinfo (print_streams_info), revision 1.0, 88/09/30
strinfo (print_streams_info) -print STREAMS-related information
usage: [-v] [-s] [-d attributes] [-m attributes]
       [-q attributes] [-t attributes]



DESCRIPTION
     strinfo prints information about configured STREAMS modules and drivers,
     currently active queues and Streams, and cumulative usage statistics.
     getopt(2) standards are not followed.  Flags must appear separately in
     order to be recognized.

OPTIONS
     -v             Verbose output.

     -s             Print cumulative usage statistics.

     -d attributes  Print information about configured drivers.  attributes is
                    a blank-separated list of one or more of the following:

                    all            Print all attributes (default).

                    index          Index in the cdevsw or fmodsw table.

                    majdev         Major device number.

                    id             Id number.

                    name           Name.

                    stats          Statistics.

                    privstats      Private statistics.

                    type           Object type of device.

                    traits         Traits supported.

                    psz            Minimum and maximum packet size.

                    water          Low and high water marks.

                    write          Print write-side information.

     -m attributes  Print information about configured modules.  attributes is
                    a blank-separated list of one or more of the attributes
                    listed above for -d.

     -q attributes  Print information about active queues.  attributes is a
                    blank-separated list of one or more of the following:

                    all            Print all attributes (default).

                    address        Address of the queue.

                    name           Name of the module.

                    next           Address of next queue.

                    count          Count of message blocks on queue.

                    flags          Queue state.

                    psz            Minimum and maximum packet size.

                    water          Low and high water mark.

                    msgs           Print contents of messages on queue.

     -t attributes  Print information about active Streams.  attributes is a
                    blank-separated list of one or more of the following:

                    all            Print all attributes (default).

                    index          Index into the Stream table.

                    address        Address of the Stream.

                    wrq            Address of Stream head read and write
                                   queues.

                    iocblk         Return block for ioctl.

                    inode          Inode pointer.

                    strtab         Pointer to the streamtab structure for the
                                   Stream.

                    flag           State/flags.

                    iocid          ioctl id.

                    iocwait        Count of processes waiting to do ioctl.

                    pgrp           Process group, for signals.

                    wroff          Write offset.

                    error          Hangup or error to set u.u_error.

                    pushcnt        Number of pushes done on Stream.

                    list           Pointer to list of processes to receive
                                   SIGPOLL and to wake up poll.

                    sigflags       Logical OR of all signal list events.

                    pollflags      Logical OR of all poll list events.

SEE ALSO
     trconf, trmon

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026