[ Previous |
Next |
Contents
| Glossary
| Home
| Search ]
AIX Version 4.3 Commands Reference, Volume 5
strconf Command
Purpose
Queries stream configuration.
strconf [ -t | -m module ]
Description
The strconf command is used to query the configuration of a stream. When used without any flags, it prints a list of all the modules in the stream as well as the topmost driver. The list is printed with one name per line, where the first name printed is the topmost module on the stream and the last item printed is the name of the driver.
Note: The strconf command only reads from standard input.
Flags
-m Module |
Determines if the specified module is present on the stream. If the module is present, the strconf command prints the message yes and returns a value of 0. If it is not present, the strconf command prints the message no and returns a nonzero value.
The -t and -m flags are mutually exclusive. |
-t |
Prints only the topmost module of the stream (if one exists). |
Parameter
Module |
Specifies the module for which to look. |
Examples
- For a stream that has only the ldterm module pushed above the ports driver, the strconf command (with no flags) would produce the following output:
ldterm
ports
- Entering the following command asks if the ldterm module is on the stream:
strconf -m ldterm
The command produces the following output while returning an exit status of 0:
yes
Related Information
The strchg command.
The streamio operations in AIX Version 4.3 Technical Reference: Communications Volume 1.
List of Streams Commands, STREAMS Overview in AIX Version 4.3 Communications Programming Concepts.
[ Previous |
Next |
Contents
| Glossary
| Home
| Search ]