<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.freebsd.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.freebsd.org/bugzilla/"
          
          maintainer="bugmeister@FreeBSD.org"
>

    <bug>
          <bug_id>194781</bug_id>
          
          <creation_ts>2014-11-03 13:09:35 +0000</creation_ts>
          <short_desc>iostat(8) man page incorrect for -w</short_desc>
          <delta_ts>2026-08-06 22:33:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Documentation</product>
          <component>Manual Pages</component>
          <version>Latest</version>
          <rep_platform>amd64</rep_platform>
          <op_sys>Any</op_sys>
          <bug_status>Closed</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>Affects Some People</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mwlucas</reporter>
          <assigned_to name="Alexander Ziaee">ziaee</assigned_to>
          <cc>bcr</cc>
    
    <cc>bjk</cc>
    
    <cc>doc</cc>
    
    <cc>mathias.eggers</cc>
    
    <cc>patmaddox</cc>
    
    <cc>smh</cc>
    
    <cc>wblock</cc>
    
    <cc>ziaee</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>794217</commentid>
    <comment_count>0</comment_count>
    <who name="">mwlucas</who>
    <bug_when>2014-11-03 13:09:35 +0000</bug_when>
    <thetext>iostat(8) says:

     -w    Pause wait seconds between each display.  If no wait interval is
           specified, the default is 1 second.

iostat itself disagrees:

iostat -xw
iostat: option requires an argument -- w
usage: iostat [-CdhIKoTxz?] [-c count] [-M core] [-n devs] [-N system]
              [-t type,if,pass] [-w wait] [drives]

Suggest dropping the second sentence from the man page entry.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794242</commentid>
    <comment_count>1</comment_count>
    <who name="Benjamin Kaduk">bjk</who>
    <bug_when>2014-11-03 16:55:43 +0000</bug_when>
    <thetext>From r215786:

Clarify a few details about iostat(8) behavior:

- The default repeat count for iostat(8) is 1 unless there
  was a -w on the command line.

The second sentence should remain, but perhaps could change to &quot;If -w is not specified, [...]&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794244</commentid>
    <comment_count>2</comment_count>
    <who name="Steven Hartland">smh</who>
    <bug_when>2014-11-03 17:08:40 +0000</bug_when>
    <thetext>No not really as if -w isn&apos;t specified it doesn&apos;t do interval based display.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794249</commentid>
    <comment_count>3</comment_count>
    <who name="Benjamin Kaduk">bjk</who>
    <bug_when>2014-11-03 17:25:56 +0000</bug_when>
    <thetext>(In reply to Steven Hartland from comment #2)
&gt; No not really as if -w isn&apos;t specified it doesn&apos;t do interval based display.

Not even if a -c count is specified?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794250</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Kaduk">bjk</who>
    <bug_when>2014-11-03 17:25:56 +0000</bug_when>
    <thetext>(In reply to Steven Hartland from comment #2)
&gt; No not really as if -w isn&apos;t specified it doesn&apos;t do interval based display.

Not even if a -c count is specified?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794255</commentid>
    <comment_count>5</comment_count>
    <who name="Steven Hartland">smh</who>
    <bug_when>2014-11-03 17:34:44 +0000</bug_when>
    <thetext>You&apos;re correct if -c X is specified by no -w then it defaults to 1 second.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794258</commentid>
    <comment_count>6</comment_count>
    <who name="Warren Block">wblock</who>
    <bug_when>2014-11-03 18:03:15 +0000</bug_when>
    <thetext>Bug 153012 is similar, and has a patch that might be useful.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>794259</commentid>
    <comment_count>7</comment_count>
    <who name="Benjamin Kaduk">bjk</who>
    <bug_when>2014-11-03 18:05:08 +0000</bug_when>
    <thetext>The cleanups I made for vmstat.8 in r269727 might also be worth looking at.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1332883</commentid>
    <comment_count>8</comment_count>
    <who name="tsg168">mas308729</who>
    <bug_when>2024-11-01 12:33:28 +0000</bug_when>
    <thetext>Siapa yang Dapat Menggunakan RTP Pro?

RTP Pro cocok untuk berbagai jenis industri, termasuk ritel, keuangan, perawatan kesehatan, dan manufaktur. Dengan fleksibilitasnya, platform ini dapat disesuaikan dengan kebutuhan spesifik setiap bisnis, baik kecil maupun besar.
https://heylink.me/alternatif-tsg168/
http://shinkaimakoto-ten.com/
https://magic.ly/alternatif-tsg168
http://murakami.jisseki.net/
http://s3-kenpo-user-stg.zero-events.com.s3-website-ap-northeast-1.amazonaws.com/
https://linktr.ee/alternatif_tsg168
https://tsg168.blogspot.com/
https://heylink.me/alternatif-tsg168/
https://heylink.me/tsg168slot/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430619</commentid>
    <comment_count>9</comment_count>
      <attachid>272080</attachid>
    <who name="Mathias Eggers">mathias.eggers</who>
    <bug_when>2026-06-23 17:09:18 +0000</bug_when>
    <thetext>Created attachment 272080
-w descripion of iostat man page rewritten/expanded

Following Benjamin&apos;s suggestion (see comment #1), I&apos;ve rewritten/expanded the -w explanation to reflect the behavior in combination with -c.
(Halifax Hackathon 202606)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430644</commentid>
    <comment_count>10</comment_count>
      <attachid>272086</attachid>
    <who name="Alexander Ziaee">ziaee</who>
    <bug_when>2026-06-23 20:12:11 +0000</bug_when>
    <thetext>Created attachment 272086
Git format patch with adjustements

I think it&apos;s good to put the description first, then the flag. Also, I really really like semantic line breaks, I think they&apos;re much clearer to maintain and better for grep. How&apos;s this? I have also put it in a git-format patch, please use these in the future. If you need any help making them I&apos;d be happy to advise!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430645</commentid>
    <comment_count>11</comment_count>
    <who name="Alexander Ziaee">ziaee</who>
    <bug_when>2026-06-23 20:15:49 +0000</bug_when>
    <thetext>Also thank you so much for fixing this! Merging fixes to very old bugs is incredibly satisfying. Please give my regards to our teammates in Halifax!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430728</commentid>
    <comment_count>12</comment_count>
    <who name="Mathias Eggers">mathias.eggers</who>
    <bug_when>2026-06-24 13:37:04 +0000</bug_when>
    <thetext>(In reply to Alexander Ziaee from comment #11)
Thanks for pointing me to git format-patch; I wasn&apos;t familiar with it, but I&apos;ll definitely use it in the future. 

I like your patch suggestion, and I&apos;ll implement it in future patches likewise.

Greetings back from the Halifax Hackathon team!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430806</commentid>
    <comment_count>13</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2026-06-25 02:59:51 +0000</bug_when>
    <thetext>A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=4d299a767acce2841ded288e789a9c36620b57d7

commit 4d299a767acce2841ded288e789a9c36620b57d7
Author:     Mathias Eggers &lt;mathias.eggers@proton.me&gt;
AuthorDate: 2026-06-23 20:09:24 +0000
Commit:     Alexander Ziaee &lt;ziaee@FreeBSD.org&gt;
CommitDate: 2026-06-25 02:57:34 +0000

    iostat.8: Expand -w description

    PR:             194781
    MFC after:      3 days
    Reviewed by:    ziaee
    Event:          Halifax Hackathon 202606

 usr.sbin/iostat/iostat.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430851</commentid>
    <comment_count>14</comment_count>
    <who name="Benedict Reuschling">bcr</who>
    <bug_when>2026-06-25 12:24:40 +0000</bug_when>
    <thetext>A patch was committed that fixes the issue. I&apos;m closing this PR. Thanks for filing it and sorry it took so long.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1431353</commentid>
    <comment_count>15</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2026-06-28 00:45:09 +0000</bug_when>
    <thetext>A commit in branch stable/15 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=62551ae38bf201654ebf2ffd59cb320ac75107a0

commit 62551ae38bf201654ebf2ffd59cb320ac75107a0
Author:     Mathias Eggers &lt;mathias.eggers@proton.me&gt;
AuthorDate: 2026-06-23 20:09:24 +0000
Commit:     Alexander Ziaee &lt;ziaee@FreeBSD.org&gt;
CommitDate: 2026-06-28 00:38:12 +0000

    iostat.8: Expand -w description

    PR:             194781
    MFC after:      3 days
    Reviewed by:    ziaee
    Event:          Halifax Hackathon 202606

    (cherry picked from commit 4d299a767acce2841ded288e789a9c36620b57d7)

 usr.sbin/iostat/iostat.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1437907</commentid>
    <comment_count>16</comment_count>
    <who name="">commit-hook</who>
    <bug_when>2026-08-06 22:33:16 +0000</bug_when>
    <thetext>A commit in branch stable/14 references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=2abf4ce4d799d84112402867229c7d5bb4f81a90

commit 2abf4ce4d799d84112402867229c7d5bb4f81a90
Author:     Mathias Eggers &lt;mathias.eggers@proton.me&gt;
AuthorDate: 2026-06-23 20:09:24 +0000
Commit:     Alexander Ziaee &lt;ziaee@FreeBSD.org&gt;
CommitDate: 2026-08-06 22:30:35 +0000

    iostat.8: Expand -w description

    PR:             194781
    MFC after:      3 days
    Reviewed by:    ziaee
    Event:          Halifax Hackathon 202606

    (cherry picked from commit 4d299a767acce2841ded288e789a9c36620b57d7)

 usr.sbin/iostat/iostat.8 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>272080</attachid>
            <date>2026-06-23 17:09:18 +0000</date>
            <delta_ts>2026-06-23 17:09:18 +0000</delta_ts>
            <desc>-w descripion of iostat man page rewritten/expanded</desc>
            <filename>man-iostat-w.txt</filename>
            <type>text/plain</type>
            <size>514</size>
            <attacher name="Mathias Eggers">mathias.eggers</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL3Vzci5zYmluL2lvc3RhdC9pb3N0YXQuOCBiL3Vzci5zYmluL2lvc3RhdC9p
b3N0YXQuOAppbmRleCAxMWYwZWY2ZmJlYjYuLjJlZjk5YWNiZGFjNyAxMDA2NDQKLS0tIGEvdXNy
LnNiaW4vaW9zdGF0L2lvc3RhdC44CisrKyBiL3Vzci5zYmluL2lvc3RhdC9pb3N0YXQuOApAQCAt
MjQ3LDggKzI0NywxNSBAQCBQYXVzZQogLkFyIHdhaXQKIHNlY29uZHMgYmV0d2VlbiBlYWNoIGRp
c3BsYXkuCiBJZgorLkZsIGMKK2lzIG5vdCBzcGVjaWZpZWQgYW5kIGEgd2FpdCBpbnRlcnZhbCBp
cyBzcGVjaWZpZWQsIHRoZSBkZWZhdWx0CityZXBlYXQgY291bnQgCisuUHEgRmwgYworaXMgaW5m
aW5pdHkuCitJZgogLkZsIHcKLWlzIG5vdCBzcGVjaWZpZWQsIHRoZSBkZWZhdWx0IGludGVydmFs
IGlzIDEgc2Vjb25kLgoraXMgbm90IHNwZWNpZmllZCBhbmQgYSByZXBlYXQgY291bnQgaXMgc3Bl
Y2lmaWVkLCB0aGUgZGVmYXVsdCBpbnRlcnZhbCBpcworMSBzZWNvbmQuCiAuUHAKIFRoZQogLk5t
Cg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>272086</attachid>
            <date>2026-06-23 20:12:11 +0000</date>
            <delta_ts>2026-06-23 20:12:11 +0000</delta_ts>
            <desc>Git format patch with adjustements</desc>
            <filename>0001-iostat.8-Expand-w-description.patch</filename>
            <type>text/plain</type>
            <size>903</size>
            <attacher name="Alexander Ziaee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