From owner-svn-src-head@freebsd.org Thu Sep 22 07:55:08 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62F98BE5B45; Thu, 22 Sep 2016 07:55:08 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1852F5E4; Thu, 22 Sep 2016 07:55:08 +0000 (UTC) (envelope-from trasz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8M7t7Dj089004; Thu, 22 Sep 2016 07:55:07 GMT (envelope-from trasz@FreeBSD.org) Received: (from trasz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8M7t7Yj089003; Thu, 22 Sep 2016 07:55:07 GMT (envelope-from trasz@FreeBSD.org) Message-Id: <201609220755.u8M7t7Yj089003@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: trasz set sender to trasz@FreeBSD.org using -f From: Edward Tomasz Napierala Date: Thu, 22 Sep 2016 07:55:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306161 - head/usr.sbin/diskinfo X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2016 07:55:08 -0000 Author: trasz Date: Thu Sep 22 07:55:07 2016 New Revision: 306161 URL: https://svnweb.freebsd.org/changeset/base/306161 Log: Small tweaks to the diskinfo(8) manual page, to make it more consistent with others. MFC after: 1 month Modified: head/usr.sbin/diskinfo/diskinfo.8 Modified: head/usr.sbin/diskinfo/diskinfo.8 ============================================================================== --- head/usr.sbin/diskinfo/diskinfo.8 Thu Sep 22 07:33:43 2016 (r306160) +++ head/usr.sbin/diskinfo/diskinfo.8 Thu Sep 22 07:55:07 2016 (r306161) @@ -44,35 +44,34 @@ The utility prints out information about a disk device, and optionally runs a naive performance test on the device. .Pp +The following options are available: +.Bl -tag -width ".Fl v" +.It Fl v +Print fields one per line with a descriptive comment. +.It Fl c +Perform a simple measurement of the I/O read command overhead. +.It Fl i +Perform a simple IOPS benchmark. +.It Fl t +Perform a simple and rather naive benchmark of the disks seek +and transfer performance. +.El +.Pp If given no arguments, the output will be a single line per specified device with the following fields: device name, sectorsize, media size in bytes, media size in sectors, stripe size, stripe offset, firmware cylinders, firmware heads, and firmware sectors. The last three fields are only present if the information is available. -.Pp -If given the -.Fl v -option, the fields will be printed one per line with a descriptive comment. -.Pp -The -.Fl c -option triggers a simple measurement of the I/O read command overhead. -.Pp -The -.Fl i -option triggers a simple IOPS benchmark. -.Pp -The -.Fl t -option triggers a simple and rather naive benchmark of the disks seek -and transfer performance. .Sh HISTORY The .Nm command appeared in .Fx 5.1 . .Sh AUTHORS -.An Poul-Henning Kamp +The +.Nm +utility was written by +.An Poul-Henning Kamp Aq Mt phk@FreeBSD.org . .Sh BUGS There are in order of increasing severity: lies, damn lies, statistics, and computer benchmarks.