[Bug 262437] Percentage measurements greater than one hundred in output from gstat(8)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Mar 2022 06:55:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262437

            Bug ID: 262437
           Summary: Percentage measurements greater than one hundred in
                    output from gstat(8)
           Product: Base System
           Version: Unspecified
          Hardware: Any
               URL: https://github.com/freebsd/freebsd-src/tree/main/usr.s
                    bin/gstat
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com

Logically: a % measurement should never exceed 100. 

In practice, <https://forums.freebsd.org/posts/361741> for example: 

> dT: 1.002s  w: 1.000s
>  L(q)  ops/s    r/s   kBps   ms/r    w/s   kBps   ms/w   %busy Name
>     0      0      0      0    0.0      0      0    0.0    0.0| cd0
>    76      1      0      0    0.0      1     32  11988  432.5| ada0
>     0      0      0      0    0.0      0      0    0.0    0.0| ada0p1
>    76      1      0      0    0.0      1     32  11988  432.5| ada0p2
>     0      0      0      0    0.0      0      0    0.0    0.0| ada0p3
>     0      0      0      0    0.0      0      0    0.0    0.0| gptid/490ad9ec-fab0-11e6-a987-ed324707a782

The manual page
<https://www.freebsd.org/cgi/man.cgi?query=gstat&sektion=8&manpath=FreeBSD>
does not explain the excesses.

-- 
You are receiving this mail because:
You are the assignee for the bug.