mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
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>
This commit is contained in:
parent
81fb22a4de
commit
f069ace4a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=502748
4 changed files with 31 additions and 0 deletions
|
@ -1284,6 +1284,7 @@
|
||||||
SUBDIR += swapd
|
SUBDIR += swapd
|
||||||
SUBDIR += swapexd
|
SUBDIR += swapexd
|
||||||
SUBDIR += swapmon
|
SUBDIR += swapmon
|
||||||
|
SUBDIR += swapusage
|
||||||
SUBDIR += sweeper
|
SUBDIR += sweeper
|
||||||
SUBDIR += symlinks
|
SUBDIR += symlinks
|
||||||
SUBDIR += symon
|
SUBDIR += symon
|
||||||
|
|
23
sysutils/swapusage/Makefile
Normal file
23
sysutils/swapusage/Makefile
Normal file
|
@ -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>
|
3
sysutils/swapusage/distinfo
Normal file
3
sysutils/swapusage/distinfo
Normal file
|
@ -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
|
4
sysutils/swapusage/pkg-descr
Normal file
4
sysutils/swapusage/pkg-descr
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue