Errr... the output of mpstat actually looks more like this:
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    2   0  220    47  300  259   12   30   74    0   288    3   3   1  93
  2    2   0   13   114  104  281   13   32   69    0   267    3   5   1  92
  3    2   0   11   157  149  289   10   34   70    0    74    1   2   1  96
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    4   0  260   410  300  317   30   39   79    0 17480    5   6   0  89
  2    0   0    8   149  103  228   44   36   54    0 65355   13  31   0  56
  3    0   0   18   140  110  284   34   47   93    0 76508   26  23   0  51
CPU minf mjf xcal  intr ithr  csw icsw migr smtx  srw syscl  usr sys  wt idl
  1    0   0  263   402  300  270   30   54   73    0 62976   15  25   0  60
  2    0   0    4   142  100  270   39   42   94    0 63749   14  26   0  60
  3    0   0   14   145  113  276   32   51   75    0 32621   19  17   0  64

____________________
Jeremy
I didn't believe in evil until I dated it.


In reply to Re: Nicer way of reading system monitor's output by jepri
in thread Nicer way of reading system monitor's output by jepri

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.