svn commit: r502748 - in head/sysutils: . swapusage
Steve Wills
swills at FreeBSD.org
Sun May 26 19:32:10 UTC 2019
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 at 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 at 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
More information about the svn-ports-all
mailing list