Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107921357
D35441.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D35441.diff
View Options
diff --git a/sysutils/Makefile b/sysutils/Makefile
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -53,6 +53,7 @@
SUBDIR += apcpwr
SUBDIR += apcupsd
SUBDIR += aptly
+ SUBDIR += arc_summary
SUBDIR += arcconf
SUBDIR += archey4
SUBDIR += archivemount
diff --git a/sysutils/arc_summary/Makefile b/sysutils/arc_summary/Makefile
new file mode 100644
--- /dev/null
+++ b/sysutils/arc_summary/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= arc_summary
+PORTVERSION= 20220410
+CATEGORIES= sysutils
+MASTER_SITES= https://raw.githubusercontent.com/openzfs/zfs/${_REV}/cmd/
+DISTFILES= ${PORTNAME}?${PORTVERSION}
+
+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}
+
+NO_ARCH= yes
+NO_BUILD= yes
+
+NO_WRKSUBDIR= yes
+PLIST_FILES= bin/arc_summary
+
+_REV= 0a9aaa7f0cc16f1771f492cce665bc5c5eb8e735
+
+do-extract:
+ ${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/sysutils/arc_summary/distinfo b/sysutils/arc_summary/distinfo
new file mode 100644
--- /dev/null
+++ b/sysutils/arc_summary/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1654724895
+SHA256 (arc_summary?20220410) = 6b46d2e3e3d935bf414bfbe49c82ddaa759ee5f1b75dd6dff676c17f10ffa9a2
+SIZE (arc_summary?20220410) = 33957
diff --git a/sysutils/arc_summary/pkg-descr b/sysutils/arc_summary/pkg-descr
new file mode 100644
--- /dev/null
+++ b/sysutils/arc_summary/pkg-descr
@@ -0,0 +1,7 @@
+arc_summary is included in the OpenZFS repository. It 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
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 20, 11:29 AM (21 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15977192
Default Alt Text
D35441.diff (2 KB)
Attached To
Mode
D35441: sysutils/arc_summary: New port
Attached
Detach File
Event Timeline
Log In to Comment