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:
parent
8f9452cdbb
commit
b4ca4c9cc1
@ -53,6 +53,7 @@
|
||||
SUBDIR += apcpwr
|
||||
SUBDIR += apcupsd
|
||||
SUBDIR += aptly
|
||||
SUBDIR += arc_summary
|
||||
SUBDIR += arcconf
|
||||
SUBDIR += archey4
|
||||
SUBDIR += archivemount
|
||||
|
31
sysutils/arc_summary/Makefile
Normal file
31
sysutils/arc_summary/Makefile
Normal 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>
|
3
sysutils/arc_summary/distinfo
Normal file
3
sysutils/arc_summary/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1654724895
|
||||
SHA256 (arc_summary?20220410) = 6b46d2e3e3d935bf414bfbe49c82ddaa759ee5f1b75dd6dff676c17f10ffa9a2
|
||||
SIZE (arc_summary?20220410) = 33957
|
7
sysutils/arc_summary/pkg-descr
Normal file
7
sysutils/arc_summary/pkg-descr
Normal 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
|
Loading…
Reference in New Issue
Block a user