2012-12-22 11:55:01 +00:00
|
|
|
# Created by: Alex Samorukov <samm@os2.kiev.ua>
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= atop
|
2012-12-22 11:55:01 +00:00
|
|
|
PORTVERSION= 2.0.2.b2
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
|
|
|
|
MAINTAINER= samm@os2.kiev.ua
|
|
|
|
COMMENT= ASCII Monitor for system resources and process activity
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2011-07-27 19:23:02 +00:00
|
|
|
|
2012-12-22 11:55:01 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= samm-git
|
|
|
|
GH_PROJECT= atop-freebsd
|
|
|
|
GH_TAGNAME= ${PORTNAME}-${PORTVERSION:C|b|fbsd.beta|}
|
|
|
|
GH_COMMIT= f9357ca
|
|
|
|
|
2011-07-27 19:23:02 +00:00
|
|
|
USE_NCURSES= yes
|
2012-12-12 20:25:52 +00:00
|
|
|
MAKEFILE= BSDmakefile
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
MAN1= atop.1 atopsar.1
|
|
|
|
MAN5= atoprc.5
|
|
|
|
LOGDIR?= /var/log/atop
|
|
|
|
|
|
|
|
USE_RC_SUBR= atop
|
|
|
|
PLIST_SUB+= LOGDIR="${LOGDIR}"
|
2011-07-02 13:23:32 +00:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= LOGDIR="${LOGDIR}"
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
|
2012-02-21 01:38:34 +00:00
|
|
|
PORTDOCS= AUTHOR \
|
|
|
|
ChangeLog \
|
|
|
|
ChangeLog.FreeBSD \
|
|
|
|
README \
|
|
|
|
README.FreeBSD
|
|
|
|
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/atop ${PREFIX}/bin
|
|
|
|
@${LN} -sf ${PREFIX}/bin/atop ${PREFIX}/bin/atopsar
|
|
|
|
.for manpage in ${MAN1}
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/${manpage} ${MAN1PREFIX}/man/man1/
|
|
|
|
.endfor
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/man/${MAN5} ${MAN5PREFIX}/man/man5/
|
|
|
|
@${MKDIR} ${LOGDIR}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
2012-02-21 01:38:34 +00:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
|
|
.endfor
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
.endif
|
2011-07-02 13:23:32 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
Atop is an ASCII full-screen performance monitor that is capable of reporting
the activity of all processes (even if processes have finished during the
interval), daily logging of system and process activity for long-term analysis,
highlighting overloaded system resources by using colors, etc.
At regular intervals, it shows system-level activity related to the CPU, memory,
swap, disks, and network layers, and for every active process it shows the CPU
utilization, the memory growth, priority, username, state, and exit code.
WWW: http://openfacts2.berlios.de/wikien/index.php/BerliosProject:Atop-freebsd
PR: ports/158536
Submitted by: Alex Samorukov <samm at os2.kiev.ua>
2011-07-02 08:01:52 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|