git: 5652050565f7 - main - gstat.8: Add an example of how to filter the results
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Jul 2025 15:16:14 UTC
The branch main has been updated by brd:
URL: https://cgit.FreeBSD.org/src/commit/?id=5652050565f7595651b33f7e1480b4d717a8a055
commit 5652050565f7595651b33f7e1480b4d717a8a055
Author: Brad Davis <brd@FreeBSD.org>
AuthorDate: 2025-07-11 15:10:56 +0000
Commit: Brad Davis <brd@FreeBSD.org>
CommitDate: 2025-07-11 15:10:56 +0000
gstat.8: Add an example of how to filter the results
Reviewed by: bcr
---
usr.sbin/gstat/gstat.8 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr.sbin/gstat/gstat.8 b/usr.sbin/gstat/gstat.8
index 02dbbbc54a3d..2975a93c7fef 100644
--- a/usr.sbin/gstat/gstat.8
+++ b/usr.sbin/gstat/gstat.8
@@ -122,6 +122,9 @@ Quit
.El
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+To filter the output to only physical disks named ada0 through ada4:
+.Dl # gstat -f ada0[0-4]$
.Sh SEE ALSO
.Xr systat 1 ,
.Xr geom 4 ,