Subject: a few small problems
To: None <netbsd-help@NetBSD.ORG>
From: James Lever <J.Lever@mailbox.uq.oz.au>
List: netbsd-help
Date: 09/12/1995 10:44:46
Couple of problems I've had for a while now and wanted to know if anybody
has found a way to fix these..

There seems to be a problem with iostat and vmstat in that they don't appear to
report disk activity as they should.  sectors per second, transfers per second
etc..  Is there a fix for this?? 

Does anybody else see this type of acivity with Tcsh (6.05) where running it
from an xterm, where you seem to lose the carriage returns but still get the
line feeds??  It works normally under an rlogin or a telnet using a decterm 
(vxt 2000 xterm)

James Lever

what follows is output from iostat, vmstat and tcsh showing problems.
------
iostat/vmstat

bottersnike# iostat -c 5
      tty          dk0           dk1           dk2           dk3          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  sps tps msps  us ni sy in id
   0   61   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   2  0  1  0 97
   0 2107   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   2  0  0  0 98
   0 1711   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   3  0  2  0 95
   0 4133   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   2  0  3  0 95
   0 3795   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   4  0  4  0 92
bottersnike# iostat -c 5 /dev/rsd0c /dev/rsd1c /dev/rsd2c /dev/rsd3c
      tty          dk0           dk1           dk2           dk3          cpu
 tin tout sps tps msps  sps tps msps  sps tps msps  sps tps msps  us ni sy in id
   0   62   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   2  0  1  0 97
   0 1105   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   1  0  0  0 99
   0 2775   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   3  0  2  0 95
   0 2722   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   4  0  2  0 94
   0 1548   0   0  0.0    0   0  0.0    0   0  0.0    0   0  0.0   1  0  3  0 96
bottersnike# vmstat -c 5 sd0 sd1 sd2 sd3
 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr ?0 ?1 ?2 ?3   in   sy  cs us sy id
 0 0 0 38552 15696   14   3   0   0   0   0  0  0  0  0    0   32   3  2  1 97
 0 1 0 38552 15692    6   1   2   1   0   1  0  0  0  0    1  218  21  3  5 92
 0 0 0 38552 15692    2   1   1   1   0   1  0  0  0  0    1  279  16  5  4 91
 0 0 0 38552 15692    2   1   1   1   0   1  0  0  0  0    1  147  13  2  1 97
 0 0 0 38552 15692    2   1   1   1   0   1  0  0  0  0    1  167  12  2  2 96
bottersnike# vmstat -c 5 /dev/rsd0c /dev/rsd1c /dev/rsd2c /dev/rsd3c
 procs   memory     page                    disks         faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr ?0 ?1 ?2 ?3   in   sy  cs us sy id
 0 0 0 43304 15688   14   3   0   0   0   0  0  0  0  0    0   32   3  2  1 97
 0 0 0 43304 15684    6   1   2   1   0   1  0  0  0  0    1  158  14  3  1 96
 0 0 0 43304 15684    2   1   1   1   0   1  0  0  0  0    1  263  18  2  5 93
 0 0 0 43304 15684    2   1   1   1   0   1  0  0  0  0    1  219  16  3  3 94
 0 0 0 43304 15684    2   1   1   1   0   1  0  0  0  0    1  157  13  2  1 97
-----

-----
tcsh lf/cr problem
M=xterm
          HOME=/home/cclever
                            SHELL=/bin/csh
                                          LOGNAME=cclever
                                                         USER=cclever
                                                                     PATH=/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin
                                     PWD=/home/cclever
                                                      HOSTTYPE=NetBSD
                                                                     VENDOR=intel
 OSTYPE=NetBSD
              MACHTYPE=i386
                           SHLVL=1
                                  HOST=bottersnike.cc.uq.oz.au
                                                              REMOTEHOST=130.102.128.5
      > 
-----