Date: Sat, 17 Jul 2010 19:12:21 +0200 (CEST) From: freebsd@nagilum.org To: FreeBSD-gnats-submit@FreeBSD.org Cc: freebsd@nagilum.org Subject: ports/148711: sysutils/swapmon Message-ID: <20100717171221.5B40C6784D@cakebox.homeunix.net> Resent-Message-ID: <201007171720.o6HHK75g043644@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 148711 >Category: ports >Synopsis: sysutils/swapmon >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Jul 17 17:20:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: freebsd@nagilum.org >Release: FreeBSD 8.1-PRERELEASE i386 >Organization: >Environment: System: FreeBSD cakebox.tis 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jun 29 22:25:46 CEST 2010 root@cakebox.tis:/usr/obj/export/src/sys/net5501 i386 >Description: New Port: sysutils/swapmon monitor swapusage, add swapspace as needed similar to sysutils/swapd but implemented as a simple shell script and therefore without any dependencies --- swapmon.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # swapmon # swapmon/Makefile # swapmon/distinfo # swapmon/pkg-descr # echo c - swapmon mkdir -p swapmon > /dev/null 2>&1 echo x - swapmon/Makefile sed 's/^X//' >swapmon/Makefile << '6db9549b8ae74c9dfec4edc992d210cc' X# ports collection makefile for: swapmon X# Date Created: 27 July 2010 X# Whom: Alexander Kuehn <freebsd@nagilum.org> X# X# $FreeBSD: ports/sysutils/swapmon/Makefile,v 1.0 Exp $ X# X XPORTNAME= swapmon XPORTVERSION= 1.2 XCATEGORIES= sysutils XMASTER_SITES= http://www.nagilum.org/swapmon/ http://www.nagilum.de/swapmon/ X XMAINTAINER= freebsd@nagilum.org XCOMMENT= Adde/remove swapspace as needed X XLICENSE= BSD X XMAN1= ${PORTNAME}.1 X XPLIST_FILES= sbin/${PORTNAME} X Xpost-patch: X ${PRINTF} "all:\n\ninstall:\n\t${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/sbin\n\t${INSTALL_MAN} ${PORTNAME}.1 ${PREFIX}/man/man1\n" >${WRKSRC}/Makefile X X.include <bsd.port.mk> 6db9549b8ae74c9dfec4edc992d210cc echo x - swapmon/distinfo sed 's/^X//' >swapmon/distinfo << '6c8f736b2ac9b8cf1f9f991a51190f54' XMD5 (swapmon-1.2.tar.gz) = 9cbc0f6fa5167c7a2f1481e5587c3040 XSHA256 (swapmon-1.2.tar.gz) = bf343ae19f747b459b2b59971970107f7689e78b346a6f259c2761ed555a58dd XSIZE (swapmon-1.2.tar.gz) = 3885 6c8f736b2ac9b8cf1f9f991a51190f54 echo x - swapmon/pkg-descr sed 's/^X//' >swapmon/pkg-descr << '3517d47902f33fb7741215a59f8ab32b' Xswapmon will check the current swapusage and if more than SWAP_HIGH per- Xcent of swapspace is in use it will create a new swapfile with a size of Xsize of SWAP_STEP percent of the current swapspace and activate it. If Xless than SWAP_LOW percent of swapspace is in use it will deactivate a Xpreviously added swapspace file and remove it. X XWWW: http://www.nagilum.net/swapmon/ X Xfreebsd@nagilum.org 3517d47902f33fb7741215a59f8ab32b exit --- swapmon.shar ends here --- >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100717171221.5B40C6784D>