


_O_n_l_i_n_e _M_a_n_u_a_l        System Manager Commands            txstat(8)



NNNNAAAAMMMMEEEE
     txstat - print operating system statistics

SSSSYYYYNNNNTTTTAAAAXXXX
     ttttxxxxssssttttaaaatttt [----aaaa] ----ooooppppttttiiiioooonnnnssss [_p_u...]

DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
     _t_x_s_t_a_t prints statistics on the current status of the TX
     operating system.  At least one option besides ----aaaa is
     required.

     OOOOppppttttiiiioooonnnnssss

     ----aaaa   Show statistics for all PUs in the network.  If ----aaaa is
          not given, statistics are printed only for the current
          PU or for named PUs.  Default is to show statistics
          only for current PU.

     ----bbbb   Print buffer cache statistics.

     ----eeee   Print Ethernet statistics.

     ----iiii   Print I/O processor statistics.

     ----llll   Print load averages.

     ----mmmm   Print memory usage statistics.

     ----qqqq   Print TX queue statistics.

     ----rrrr   Print read-call statistics.

     ----ssss   Print TX semaphore statistics.

     ----tttt   Print transaction statistics.

     ----wwww   Print write-call statistics.

     OOOOuuuuttttppppuuuutttt FFFFiiiieeeellllddddssss

     ----bbbb option
          This option shows the number of RPU local and UPU local
          and remote buffer cache hits, as well as the number of
          buffers available and the percentage of memory used by
          those buffers.

     ----eeee option
          For each Ethernet connection on a PU the following
          statistics are printed.  (Four columns are shown for
          4-port SIB and two columns for a 2-port SIB.

             the number of packets sent and received that were
             either successful or failed;

             The number of collision errors (more than 15 colli-
             sions occurred);

             the number of _n_c_s (no-carrier-sense) packets sent;







             the number of _l_c_s (lost-clear-to-send) packets sent;

             the number of _u_d_r (underrun) packets sent;

             CRC errors, bad alignment (_a_l_n) errors, resource
             (_r_s_c) errors, and overrun (_o_v_r_n) errors;

             the number of packets sent after _n collisions (_n =
             1,2,3,...,15);

             the number of buffers active and the low active
             count for transmit buffers (_t_b);

             the status of the Ethernet: alive or dead.

     ----iiii option
          For each I/O processor on the specified PU, shows the
          number of channel programs and interrupts.

     ----llll option
          Shows the load average for the UPU with disk, real UPU,
          average RPU, maximum RPU, (all gathered over 1, 5, and
          15 minute intervals) the current RPU, and the maximum
          RPU load since system boot.

     ----mmmm option
          For the specified PU, show the size of main memory and
          the following memory-usage statistics:

          _m_a_i_n-_m_e_m_o_r_y _s_i_z_e
                  main-memory size in megabytes

          _f_r_e_e _p_a_g_e_s
                  total free pages of memory, virtual-memory sub-
                  system free, cmem free.  (A page is 1024
                  bytes.)

          _o_b_j_e_c_t_s memory objects in use by the TX operating sys-
                  tem

          _f_r_e_e    number of free memory objects available

          _p_a_g_e_s   number of pages in cmem pools

          _c_g_e_t_s   TX internal allocation calls (total)

          _c_f_r_e_e_s  TX internal free calls (total)

          _m_e_m_a_l_l (_c_a_l_l_s, _p_a_g_e_s, _w_a_i_t_s)
                  statistics on memory allocation (TX internal
                  calls, pages allocated, waits for memory)

          _m_e_m_f_r_e_e (_c_a_l_l_s, _p_a_g_e_s)
                  statistics on memory frees (TX internal calls,
                  pages freed)

          _d_a_e_m_o_n _w_a_i_t_s
                  number of waits on the RPU for cmem allocation

          _n_e_w_p_a_g_e_s






                  number of internal cmem-page allocations

          _p_a_g_e_f_r_e_e_s
                  number of internal cmem-page frees

          _c_g_e_t _c_a_l_l_s
                  TX internal calls from UPU/RPU

          _c_g_e_t _c_a_l_l_s _f_a_i_l_e_d
                  number of cget calls that failed due to out-
                  of-memory condition when the caller could not
                  wait, from UPU/RPU

          _c_f_r_e_e _c_a_l_l_s _o_n _U_P_U/_R_P_U
                  TX internal calls from UPU/RPU

          heap memory statistics
                  address and size of heap memory, plus number of
                  calls to allocate heap memory, number of calls
                  that failed, the average search length, and the
                  percentage of free heap memory available.

     ----qqqq option
          For each PU specified, shows the following statistics
          for the named TX queue:

          _i_n_s_e_r_t_s number of calls to _q_u_e_u_e__i_n_s_e_r_t

          _w_a_i_t_s   number of insert calls with no waiting process

          _m_a_x _d_e_p_t_h
                  maximum value of the queue depth

     ----rrrr option
          Show the number of reads, number of local and remote
          disk reads, and the number of bytes read since the last
          reboot.

     ----ssss option
          For each PU specified, shows the following statistics
          for the named semaphores:

          _w_a_i_t_s   number of TX internal calls to sem_lock that
                  blocked, on each processor

          _w_o_u_l_d _w_a_i_t_s
                  number of TX internal calls to sem_lock (on
                  each processor) that did not obtain a lock
                  because blocking was not permitted

          _s_p_i_n_s   number of traverses through lock-contention
                  loops within the TX semaphore code, on each
                  processor

     ----tttt option
          Show the number of transaction begins, transaction com-
          mits, transaction aborts, locks, deadlocks, seconds
          wait time, and seconds response time since last reboot.

     ----wwww option






          Show the number of writes, number of local and remote
          disk writes and the number of bytes written since the
          last reboot.

SSSSEEEEEEEE AAAALLLLSSSSOOOO
     User Commands (1):  la

LLLLIIIIMMMMIIIITTTTAAAATTTTIIIIOOOONNNNSSSS
     The statistics may overflow.  The ----rrrr and ----wwww byte counts are
     likely to overflow.

December 1989                      TX System Manager's Reference
















































