1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

sysutils/zfs-stats: Update to 1.3.2

Changelog: https://github.com/mmatuska/zfs-stats/compare/1.3.1...1.3.2

PR:			273746
Approved by:		zirias (mentor), mm (maintainer)
Differential Revision:	https://reviews.freebsd.org/D41838
This commit is contained in:
Joel Bodenmann 2023-09-12 22:57:30 +02:00
parent 63e9b93dcb
commit 7860e25dd4
3 changed files with 4 additions and 29 deletions

View File

@ -1,6 +1,5 @@
PORTNAME= zfs-stats
DISTVERSION= 1.3.1
PORTREVISION= 1
DISTVERSION= 1.3.2
CATEGORIES= sysutils
MAINTAINER= mm@FreeBSD.org

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1622906235
SHA256 (mmatuska-zfs-stats-1.3.1_GH0.tar.gz) = 017fde9eaa73266c36014a6c8e8738d8110c5eb41c8e55edc9f4a546a5f9846b
SIZE (mmatuska-zfs-stats-1.3.1_GH0.tar.gz) = 10925
TIMESTAMP = 1694551891
SHA256 (mmatuska-zfs-stats-1.3.2_GH0.tar.gz) = 2c94742fcb0caeb508110031b05783557ba5b4938bacec052a1294fac3fc2afe
SIZE (mmatuska-zfs-stats-1.3.2_GH0.tar.gz) = 10950

View File

@ -1,24 +0,0 @@
--- zfs-stats.orig 2021-06-05 15:18:56 UTC
+++ zfs-stats
@@ -366,6 +366,7 @@ sub _arc_summary {
### ARC Sizing ###
my $arc_size = $Kstat->{"kstat.zfs.misc.arcstats.size"};
+ my $arc_compressed_size = $Kstat->{"kstat.zfs.misc.arcstats.compressed_size"};
my $arc_uncompressed_size = $Kstat->{"kstat.zfs.misc.arcstats.uncompressed_size"};
my $mru_size = $Kstat->{"kstat.zfs.misc.arcstats.p"};
my $target_max_size = $Kstat->{"kstat.zfs.misc.arcstats.c_max"};
@@ -382,10 +383,12 @@ sub _arc_summary {
fPerc($target_min_size, $target_max_size), fBytes($target_min_size));
printf("\tMax Size (High Water):\t\t%d:1\t%s\n",
$target_size_ratio, fBytes($target_max_size));
+ printf("\tCompressed Data Size:\t\t\t%s\n",
+ fBytes($arc_compressed_size));
printf("\tDecompressed Data Size:\t\t\t%s\n",
fBytes($arc_uncompressed_size));
printf("\tCompression Factor:\t\t\t%s\n",
- fRatio($arc_uncompressed_size, $arc_size));
+ fRatio($arc_uncompressed_size, $arc_compressed_size));
print "\nARC Size Breakdown:\n";