home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ssssttttrrrraaaacccceeee((((1111MMMM)))) ssssttttrrrraaaacccceeee((((1111MMMM))))
-
-
-
- NNNNAAAAMMMMEEEE
- _ssss_tttt_rrrr_aaaa_cccc_eeee - print STREAMS trace messages
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _ssss_tttt_rrrr_aaaa_cccc_eeee [ _m_i_d _s_i_d _l_e_v_e_l ] ...
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _ssss_tttt_rrrr_aaaa_cccc_eeee without arguments writes all STREAMS event trace messages from all
- drivers and modules to its standard output. These messages are obtained
- from the STREAMS log driver (_llll_oooo_gggg(7)). If arguments are provided they
- must be in triplets of the form _m_i_d, _s_i_d, _l_e_v_e_l, where _m_i_d is a STREAMS
- module ID number, _s_i_d is a sub-ID number, and _l_e_v_e_l is a tracing priority
- level. Each triplet indicates that tracing messages are to be received
- from the given module/driver, sub-ID (usually indicating minor device),
- and priority level equal to or less than the given level. The token _aaaa_llll_llll
- can be used for any member to indicate no restriction for that attribute.
-
- The format of each trace message output is:
-
- <_s_e_q> <_t_i_m_e> <_t_i_c_k_s> <_l_e_v_e_l> <_f_l_a_g_s> <_m_i_d> <_s_i_d> <_t_e_x_t>
-
-
- <_s_e_q> trace sequence number
-
- <_t_i_m_e> time of message in _h_h:_m_m:_s_s
-
- <_t_i_c_k_s> time of message in machine ticks since boot
-
- <_l_e_v_e_l> tracing priority level
-
- <_f_l_a_g_s> _EEEE : message is also in the error log
- _FFFF : indicates a fatal error
- _NNNN : mail was sent to the system administrator
-
- <_m_i_d> module ID number of source
-
- <_s_i_d> sub-ID number of source
-
- <_t_e_x_t> formatted text of the trace message
-
- Once initiated, _ssss_tttt_rrrr_aaaa_cccc_eeee continues to execute until terminated by the user.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- Output all trace messages from the module or driver whose module ID is
- 41:
-
- _ssss_tttt_rrrr_aaaa_cccc_eeee _4444_1111 _aaaa_llll_llll _aaaa_llll_llll
-
- Output those trace messages from driver/module ID 41 with sub-IDs 0, 1,
- or 2:
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ssssttttrrrraaaacccceeee((((1111MMMM)))) ssssttttrrrraaaacccceeee((((1111MMMM))))
-
-
-
- _ssss_tttt_rrrr_aaaa_cccc_eeee _4444_1111 _0000 _1111 _4444_1111 _1111 _1111 _4444_1111 _2222 _0000
-
- Messages from sub-IDs 0 and 1 must have a tracing level less than or
- equal to 1. Those from sub-ID 2 must have a tracing level of 0.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- log(7).
-
- NNNNOOOOTTTTEEEESSSS
- Due to performance considerations, only one _ssss_tttt_rrrr_aaaa_cccc_eeee process is permitted
- to open the STREAMS log driver at a time. The log driver has a list of
- the triplets specified in the command invocation, and compares each
- potential trace message against this list to decide if it should be
- formatted and sent up to the _ssss_tttt_rrrr_aaaa_cccc_eeee process. Hence, long lists of
- triplets have a greater impact on overall STREAMS performance. Running
- _ssss_tttt_rrrr_aaaa_cccc_eeee has the most impact on the timing of the modules and drivers
- generating the trace messages that are sent to the _ssss_tttt_rrrr_aaaa_cccc_eeee process. If
- trace messages are generated faster than the _ssss_tttt_rrrr_aaaa_cccc_eeee process can handle
- them, some of the messages will be lost. This last case can be
- determined by examining the sequence numbers on the trace messages
- output.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-