Date: Sun, 26 May 2019 19:32:09 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502748 - in head/sysutils: . swapusage Message-ID: <201905261932.x4QJW9Dg004195@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Sun May 26 19:32:08 2019 New Revision: 502748 URL: https://svnweb.freebsd.org/changeset/ports/502748 Log: sysutils/swapusage: create port Very small utility that reports the percentage of swap space that is used. Report can be piped to a Prometheus textfile without processing. WWW: https://github.com/aduitsis/freebsd_swapusage PR: 236979 Submitted by: Athanasios Douitsis <aduitsis@douitsis.com> Added: head/sysutils/swapusage/ head/sysutils/swapusage/Makefile (contents, props changed) head/sysutils/swapusage/distinfo (contents, props changed) head/sysutils/swapusage/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile (contents, props changed) Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sun May 26 19:23:56 2019 (r502747) +++ head/sysutils/Makefile Sun May 26 19:32:08 2019 (r502748) @@ -1284,6 +1284,7 @@ SUBDIR += swapd SUBDIR += swapexd SUBDIR += swapmon + SUBDIR += swapusage SUBDIR += sweeper SUBDIR += symlinks SUBDIR += symon Added: head/sysutils/swapusage/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/swapusage/Makefile Sun May 26 19:32:08 2019 (r502748) @@ -0,0 +1,23 @@ +# $FreeBSD$ + +PORTNAME= swapusage +PORTVERSION= 1.0.0 +CATEGORIES= sysutils + +MAINTAINER= aduitsis@douitsis.com +COMMENT= Get swap usage on a FreeBSD system + +LICENSE= BSD2CLAUSE + +GH_ACCOUNT= aduitsis +GH_PROJECT= freebsd_swapusage +USE_GITHUB= yes + +INSTALL_TARGET= # empty + +PLIST_FILES= bin/swapusage + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/swapusage ${STAGEDIR}${PREFIX}/bin + +.include <bsd.port.mk> Added: head/sysutils/swapusage/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/swapusage/distinfo Sun May 26 19:32:08 2019 (r502748) @@ -0,0 +1,3 @@ +TIMESTAMP = 1554155920 +SHA256 (aduitsis-freebsd_swapusage-1.0.0_GH0.tar.gz) = c713845bdf217991ff9578bbc4b6c9b27d8635cfa2bcfe920b5fb515f5cacffe +SIZE (aduitsis-freebsd_swapusage-1.0.0_GH0.tar.gz) = 1735 Added: head/sysutils/swapusage/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/swapusage/pkg-descr Sun May 26 19:32:08 2019 (r502748) @@ -0,0 +1,4 @@ +Very small utility that reports the percentage of swap space that is +used. Report can be piped to a Prometheus textfile without processing. + +WWW: https://github.com/aduitsis/freebsd_swapusage
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905261932.x4QJW9Dg004195>