1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Add new port: sysutils/powermon

Powermon is a small utility that reads the CPU internal power counters,
calculates the current power consumption and displays it together with
some nice statistics on an interactive curses interface.

All Intel CPUs starting with Sandy Bridge are supported. Older Intel
CPUs and CPUs from other vendors don't expose the necessary performance
counters. Additionally some server CPUs like those based on Haswell and
Broadwell do not provide the necessary data.

WWW: https://github.com/Yamagi/powermon

PR:		220450
Submitted by:	yamagi@yamagi.org
Sponsored by:	Essen Hackathon 2017
This commit is contained in:
Lars Engels 2017-07-08 22:24:33 +00:00
parent df4f951810
commit b4db0b0380
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445346
4 changed files with 42 additions and 0 deletions

View File

@ -832,6 +832,7 @@
SUBDIR += polkit-qt5
SUBDIR += powerdxx
SUBDIR += powerman
SUBDIR += powermon
SUBDIR += pp
SUBDIR += pprotectd
SUBDIR += prelink

View File

@ -0,0 +1,28 @@
# $FreeBSD$
PORTNAME= powermon
PORTVERSION= 1.0.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
MAINTAINER= yamagi@yamagi.org
COMMENT= Displays the CPUs current power consumption
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= yamagi
GH_TAGNAME= ${DISTVERSIONPREFIX}${PORTVERSION}
USES= gmake
PLIST_FILES= man/man8/powermon.8.gz sbin/powermon
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/release/powermon \
${STAGEDIR}${PREFIX}/sbin/powermon
${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/misc/powermon.8 \
${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1499099312
SHA256 (yamagi-powermon-v1.0.0_GH0.tar.gz) = 7e0c3b988c797ac90a0fb2bc6db14fb1e307075d9792c68d99d26e64f58c1fb9
SIZE (yamagi-powermon-v1.0.0_GH0.tar.gz) = 16348

View File

@ -0,0 +1,10 @@
Powermon is a small utility that reads the CPU internal power counters,
calculates the current power consumption and displays it together with
some nice statistics on an interactive curses interface.
All Intel CPUs starting with Sandy Bridge are supported. Older Intel
CPUs and CPUs from other vendors don't expose the necessary performance
counters. Additionally some server CPUs like those based on Haswell and
Broadwell do not provide the necessary data.
WWW: https://github.com/Yamagi/powermon