Re: Strange top(1) output

From: Skip Ford <skip.ford_at_verizon.net>
Date: Tue, 10 May 2005 09:44:09 -0400
Giorgos Keramidas wrote:
> On 2005-05-10 18:16, Jiawei Ye <leafy7382_at_gmail.com> wrote:
> > Looks like something wrong with the postioning. This is a box upgraded
> > from 5-stable to -current. My other box also running -current does not
> > exhibit such behaviour.
> >
> > 66 process223093 running, 63 slee 0.50,  0.55,  0.32    up 0+00:12:14  18:14:47
> > CPU states:    1% user,    5% nice,     % system,     % interrupt,     % idle
> > Mem: 133M Ac 0.0, 164M I 0.0, 67M Wi 0.7 19M Cache 0.7M Buf, 52M Fr98.6
> > Swap: 256M Total, 256M Free
> >
> >   PID USERNAME     THR PRI NICE   SIZE    RES STATE    TIME   WCPU
> > CPU COMMAND
> >   593 jabber         1   8    0  5428K  4564K nanslp   0:07  0.00%  0.00% perl5
> >   731 leafy          1  96    0  6356K  2364K select   0:04  0.00%  0.00% sshd
> 
> Yout THR column is too wide.  I fixed this particular problem by
> reducing the width of the THR column about 3 weeks ago.
> 
> Are you sure you are running today's current and not some older version?

I see the same thing on a CURRENT from a couple days ago.  Not
only does the header line wrap, causing the odd display at the
top, but for each line only 3 characters of the actual command
fit on the screen.

Here's the actual output on an 80 column screen:

54 process 20661 running, 53 slee 0.00,  0.06,  0.03    up 0+03:38:09  09:40:36
55U states:    1% user,   54% nice,     % system,     % interrupt,     % idle
Mem: 61M Act 0.0 72M Ina 0.059M Wire 0.808K Cache, 7.0 Buf, 180M Fr92.2
Swap: 250M Total, 250M Free 59                               78

  PID USERNAME       THR PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMM
AND
 1352 skip             1  96    0 18968K 16276K select   0:21  0.00%  0.00% Xor
  691 skip             1   8    0  4784K  3940K wait     0:08  0.00%  0.00% mut
  684 skip             1  96    0  2336K  1948K select   0:07  0.00%  0.00% scr
  667 root             1   4    0 24268K 23196K accept   0:06  0.00%  0.00% per
  580 root             1  20    0 22896K 21948K pause    0:04  0.00%  0.00% per
  447 root             1  96    0  2864K  1724K select   0:02  0.00%  0.00% ntp

-- 
Skip
Received on Tue May 10 2005 - 11:44:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:34 UTC