Bug 256774

Summary: gstat: selectable sort columns
Product: Base System Reporter: Alan Somers <asomers>
Component: binAssignee: Alan Somers <asomers>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Alan Somers freebsd_committer freebsd_triage 2021-06-22 14:04:30 UTC
I very often do 'gstat | sort -rn -k9 | head' in order to see which of my disks is busiest.  It would rock my world if gstat could do the sorting itself, and do it in interactive mode.  Using the "o" key to select sort column, like top does, would work.  So would a command line switch.
Comment 1 Alan Somers freebsd_committer freebsd_triage 2022-07-24 16:41:43 UTC
I tried to implement this, but it was pretty hard.  There were other features that I wanted too that were hard to implement.  So I rewrote gstat instead.  The rewrite is in ports at sysutils/gstat-rs .