1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

sysutils/arc_summary: New port

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.

Reviewed by:	diizzy
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35441
This commit is contained in:
Joseph Mingrone 2022-06-08 17:25:41 -03:00
parent 8f9452cdbb
commit b4ca4c9cc1
No known key found for this signature in database
GPG Key ID: 36A40C83B0D6EF9E
4 changed files with 42 additions and 0 deletions

View File

@ -53,6 +53,7 @@
SUBDIR += apcpwr
SUBDIR += apcupsd
SUBDIR += aptly
SUBDIR += arc_summary
SUBDIR += arcconf
SUBDIR += archey4
SUBDIR += archivemount

View File

@ -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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1654724895
SHA256 (arc_summary?20220410) = 6b46d2e3e3d935bf414bfbe49c82ddaa759ee5f1b75dd6dff676c17f10ffa9a2
SIZE (arc_summary?20220410) = 33957

View File

@ -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