From owner-svn-ports-all@freebsd.org Sun May 26 19:32:10 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 793E415AE81D; Sun, 26 May 2019 19:32:10 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1D5DA6BED6; Sun, 26 May 2019 19:32:10 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD2B520223; Sun, 26 May 2019 19:32:09 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4QJW989004886; Sun, 26 May 2019 19:32:09 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4QJW9Dg004195; Sun, 26 May 2019 19:32:09 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905261932.x4QJW9Dg004195@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sun, 26 May 2019 19:32:09 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502748 - in head/sysutils: . swapusage X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/sysutils: . swapusage X-SVN-Commit-Revision: 502748 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 1D5DA6BED6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2019 19:32:10 -0000 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 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 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