Bug 262437 - Percentage measurements greater than one hundred in output from gstat(8)
Summary: Percentage measurements greater than one hundred in output from gstat(8)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL: https://github.com/freebsd/freebsd-sr...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-09 06:55 UTC by Graham Perrin
Modified: 2022-03-09 06:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2022-03-09 06:55:52 UTC
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.