STREAMS/UX for the HP 9000 Reference Manual
221
STREAMS/UX-NetTL Link
Quick Guide On How to Use NetTL for STREAMS/UX
Quick Guide On How to Use NetTL for
STREAMS/UX
• Check if NetTL is running.
nettl -status
NetTL will start running by default after the system boot (see nettl(1M) for more
detail).
If NetTL is running, you can check the log file name, STREAMS/UX subsystem
ID, STREAMS/UX log classes, etc.
• If it is not running, a superuser needs to start NetTL.
nettl -start
• NetTL can be stopped by a superuser.
nettl -stop
• You can change the set of NetTL log classes you are interested in.
By default, only DISASTER and ERROR messages are logged. A superuser can
modify this default by using the nettlconf command (see nettlconf(1M)). Bit
masks for turning on log classes are the following:
INFORMATIVE 1
WARNING 2
ERROR 4
DISASTER 8
For example:
• To log only DISASTER messages,
nettlconf -id 129 -class 8
• To log DISASTER, ERROR, and WARNING messages,
nettlconf -id 129 -class 14
• To verify your changes,
nettlconf -status
• To activate your changes, you need to restart NetTL.