Page MenuHomeFreeBSD

D35441.id106781.diff
No OneTemporary

D35441.id106781.diff

Index: sysutils/Makefile
===================================================================
--- sysutils/Makefile
+++ sysutils/Makefile
@@ -53,6 +53,7 @@
SUBDIR += apcpwr
SUBDIR += apcupsd
SUBDIR += aptly
+ SUBDIR += arc_summary
SUBDIR += arcconf
SUBDIR += archey4
SUBDIR += archivemount
Index: sysutils/arc_summary/Makefile
===================================================================
--- /dev/null
+++ sysutils/arc_summary/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= arc_summary
+PORTVERSION= 20220410
+CATEGORIES= sysutils
+MASTER_SITES= https://raw.githubusercontent.com/openzfs/zfs/${_REV}/cmd/
+DISTFILES= ${PORTNAME}
+DIST_SUBDIR= ${PORTNAME}_${_REV}
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Print ZFS ARC cache statistics and other information
+
+LICENSE= BSD2CLAUSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sysctl>0:devel/py-sysctl@${PY_FLAVOR}
+
+USES= python shebangfix
+SHEBANG_FILES= ${PORTNAME}
+
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= # empty
+EXTRACT_AFTER_ARGS= .
+NO_ARCH= yes
+NO_BUILD= yes
+
+NO_WRKSUBDIR= yes
+PLIST_FILES= bin/arc_summary
+
+_REV= 0a9aaa7f0cc16f1771f492cce665bc5c5eb8e735
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>
Index: sysutils/arc_summary/distinfo
===================================================================
--- /dev/null
+++ sysutils/arc_summary/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654718738
+SHA256 (arc_summary_0a9aaa7f0cc16f1771f492cce665bc5c5eb8e735/arc_summary) = 6b46d2e3e3d935bf414bfbe49c82ddaa759ee5f1b75dd6dff676c17f10ffa9a2
+SIZE (arc_summary_0a9aaa7f0cc16f1771f492cce665bc5c5eb8e735/arc_summary) = 33957
Index: sysutils/arc_summary/pkg-descr
===================================================================
--- /dev/null
+++ sysutils/arc_summary/pkg-descr
@@ -0,0 +1,6 @@
+arc_summary provides basic information on the ZFS ARC, its efficiency,
+the L2ARC (if present), the Data Management Unit (DMU), Virtual Devices
+(VDEVs), and tunables. See the in-source documentation and code at
+https://github.com/openzfs/zfs/blob/master/module/zfs/arc.c for details.
+The original introduction to arc_summary can be found at
+http://cuddletech.com/?p=454

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 20, 12:10 PM (21 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31838465
Default Alt Text
D35441.id106781.diff (2 KB)

Event Timeline