ports/159824: pkg-message of sysutils/atop gives wrong example
Armin Gruner
ag at muc.de
Tue Aug 16 22:50:10 UTC 2011
>Number: 159824
>Category: ports
>Synopsis: pkg-message of sysutils/atop gives wrong example
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Aug 16 22:50:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Armin Gruner
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
muc.de
>Environment:
System: FreeBSD ocolin.muc.de 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Aug 5 13:48:44 CEST 2011 ag at ocolin.muc.de:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
pkg-message when installing sysutils/atop gives a nice example how to
rotate the log if atop is setup in deaemon mode for periodic resource usage gathering.
Howewer, the print out is not usage for direct copy&paste
>How-To-Repeat:
>Fix:
--- pkg-message.in.old 2011-08-17 00:19:26.034329516 +0200
+++ pkg-message.in 2011-08-17 00:19:35.264064766 +0200
@@ -10,7 +10,7 @@
You will also need to add "rotate" command to the system crontab:
-0 0 * * * %%PREFIX%%/etc/rc.d/atop rotate >dev/null
+0 0 * * * %%PREFIX%%/etc/rc.d/atop rotate >/dev/null
To change number of days to keep the logs (default - 30) use atop_keepdays
variable in your /etc/rc.conf file.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list