scls Command
Purpose
Produces a list of module and driver names.
Syntax
Description
The scls command provides a method for the user to query the current Portable Streams Environment (PSE) configuration. The scls command produces a list of module and driver names. Flags can be used to produce enhanced lists. Any further parameters on the command line are module or driver names, and the output produced is for only those names.
Note: The scls command requires the sc STREAMS module and the nuls driver. If either one is not available, the scls command will not be successful.
Flags
Item | Description |
---|---|
-c | Produces a listing showing the number of times an interface routine was called. |
-l | Produces a long listing that shows the extension type, major number, and information pertaining to the module_info structure. |
-m | Pushes the module pointed to by the sc_module_name to the top of the current stream, just below the stream head. |
The -c and -l flags are mutually exclusive.
Parameters
Item | Description |
---|---|
module | Specifies the name of the modules or drivers for which to output information. |
sc_module_name | Specifies a module name that needs to be pushed to the current stream, just below the stream head. |
Files
Item | Description |
---|---|
sc | Dynamically loadable STREAMS configuration module |
nuls | Dynamically loadable STREAMS null device. |