Re: svn commit: r358181 - head/usr.sbin/pstat

2020-06-30 Thread csjp
Piotr, Thanks for the heads up. I will fix this shortly. On Mon, Jun 22, 2020 at 11:53:15PM +0200, Piotr P. Stefaniak wrote: > On 2020-02-20 21:12:10, Christian S.J. Peron wrote: > >Author: csjp > >Date: Thu Feb 20 21:12:10 2020 > >New Revision: 358181 > >URL: https://svnweb.freebsd.org/changeset

Re: svn commit: r358181 - head/usr.sbin/pstat

2020-06-22 Thread Piotr P. Stefaniak
On 2020-02-20 21:12:10, Christian S.J. Peron wrote: Author: csjp Date: Thu Feb 20 21:12:10 2020 New Revision: 358181 URL: https://svnweb.freebsd.org/changeset/base/358181 Log: - Implement -h (human readable) for the size of the underlying block disk. Currently, the size of the swap device is

Re: svn commit: r358181 - head/usr.sbin/pstat

2020-02-20 Thread csjp
To be clear, the before and after should have read: Before: $ swapinfo -h Device 1K-blocks Used Avail Capacity /dev/gpt/swapfs 1048576 0B 1.0G 0% $ After: $ swapinfo -h Device Size Used Avail Capacity /dev/gpt/swapfs 1.0G 0B 1.0G 0% $ On Thu, Feb 20, 2020 at 09:12:10PM +, Christian S.J. Pe

svn commit: r358181 - head/usr.sbin/pstat

2020-02-20 Thread Christian S.J. Peron
Author: csjp Date: Thu Feb 20 21:12:10 2020 New Revision: 358181 URL: https://svnweb.freebsd.org/changeset/base/358181 Log: - Implement -h (human readable) for the size of the underlying block disk. Currently, the size of the swap device is unconditionally reported using blocks, even if