12.07.2015 Views

Brocade MLX Series and Brocade NetIron XMR Diagnostic Guide ...

Brocade MLX Series and Brocade NetIron XMR Diagnostic Guide ...

Brocade MLX Series and Brocade NetIron XMR Diagnostic Guide ...

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2Managing memory <strong>and</strong> CPU usageccp wait A 2713 13 1335 0.0cluster_mgr wait A 2713 0 7582 0.0statistcs wait A 2713 0 0 0.0hw_access wait A 2713 3 834977 0.3sfm_mon wait A 32 1 646545 0.2ntp wait A 2714 0 4913 0.0ospf_msg_task wait A 1 0 2019 0.0Sampling CPU usageThere are three comm<strong>and</strong>s that will show you how much CPU is being used for each task. The firsttwo comm<strong>and</strong>s, issued from the management module monitor, identify a task to be sampled, <strong>and</strong> arate at which to sample the task:• set sample-task • set sample-rate • show sampleWhen set sample-task <strong>and</strong> set sample-rate are configured, the show sample comm<strong>and</strong> samplesthe CPU for a period of time, <strong>and</strong> displays stack traces. The resulting information shows you whatthe CPU is doing, which can be especially helpful during periods of high CPU usage. The maximumnumber of traces that can be stored is 100. To display the stack traces during the sampling period,enter the show sample comm<strong>and</strong>.To stop the sampling, enter the set sample-rate 0 comm<strong>and</strong>.CPU memory show comm<strong>and</strong>sThe CPU uses memory buffers to h<strong>and</strong>le interprocess communication (IPC) <strong>and</strong> external packetssent <strong>and</strong> received by the management processor. Buffer pools can consist of 256 bytes, 512 bytes,1024 bytes, 1040 bytes, <strong>and</strong> 2048 bytes. All buffers are allocated from these pools on a best-fitbasis. The pBuf table maintains start <strong>and</strong> end addresses, size, stack trace, <strong>and</strong> number ofreferences for each allocated buffer.show bmSyntax: show bmThe show bm comm<strong>and</strong> determines if a task is suffering from a buffer leak <strong>and</strong> displays a generaloverview of the CPU buffer health, as shown in the following example.<strong>Brocade</strong># show bmSIZE TOTAL FREE IN-USE OUT-OF-BUF BAD-FREE BAD-REF BAD-SIG-------------------------------------------------------------------256 1023 1022 1 0 0 0 0512 1024 1024 0 0 0 0 01024 1024 1024 0 0 0 0 02048 6144 128 6016 3446 0 0 010240 512 512 0 0 0 0 0-------------------------------------------------------------------Pool id = 0 Application Buffer Usage:Total buf used by appl = 1loop_detect (0x7 ) owns 1 buffersPool id = 1 Application Buffer Usage:Total buf used by appl = 0Pool id = 2 Application Buffer Usage:Total buf used by appl = 0Pool id = 3 Application Buffer Usage:20 <strong>Brocade</strong> <strong>MLX</strong> <strong>Series</strong> <strong>and</strong> <strong>Brocade</strong> <strong>NetIron</strong> <strong>XMR</strong> <strong>Diagnostic</strong> <strong>Guide</strong>53-1002426-02

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!