Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2005 16:00:09 GMT
From:      Andriy Gapon <avg@icyb.net.ua>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/81496: acd (atapicd) device lacks devstat
Message-ID:  <200505261600.j4QG0947012075@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/81496; it has been noted by GNATS.

From: Andriy Gapon <avg@icyb.net.ua>
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/81496: acd (atapicd) device lacks devstat
Date: Thu, 26 May 2005 18:53:57 +0300

 on 26.05.2005 18:31 Poul-Henning Kamp said the following:
 > In message <200505261152.j4QBqFEV082234@www.freebsd.org>, Andriy Gapon writes:
 > 
 > 
 > Use the gstat(8) program instead.
 > 
 
 Poul-Henning,
 
 here's an output from gstat while copying a file from a UDF filesystem
 on acd0 to a filesystem on ad0s1f (5.4-release, atapicam is present in
 the kernel):
 
 dT: 0.501  flag_I 500000us  sizeof 240  i -1
  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
     0     22      0      0    0.0     22   2811    1.5    3.3| ad0
     0     22      0      0    0.0     22   2811    1.5    3.3| ad0s1
     0      0      0      0    0.0      0      0    0.0    0.0| acd0
     0      0      0      0    0.0      0      0    0.0    0.0| acd0t01
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1a
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1b
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1c
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1d
     0      0      0      0    0.0      0      0    0.0    0.0| ad0s1e
     0     22      0      0    0.0     22   2811    1.5    3.4| ad0s1f
     0      0      0      0    0.0      0      0    0.0    0.0| acd1
     1     44     44   2811   22.5      0      0    0.0   99.1| cd0
     0      0      0      0    0.0      0      0    0.0    0.0| acd1t01
     0      0      0      0    0.0      0      0    0.0    0.0| cd1
 
 
 I am not sure why acd0 got all zeros.
 
 Anyway, even if gstat should work perfectly for acd, I think it is no
 reason to have iostat/systat incomplete. Also, a reference to gstat(8)
 in iostat(8) and systat(1) would be nice too.
 
 Btw, is it a bug or a feature that gstat requires root privileges ? -
 iostat/systat can be run as a regualr user:
 gstat: geom_stats_open(): Permission denied
 
 -- 
 Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505261600.j4QG0947012075>