Skip site navigation (1)Skip section navigation (2)
Date:      16 Aug 2011 22:22:20 -0000
From:      Armin Gruner <ag@muc.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/159824: pkg-message of sysutils/atop gives wrong example
Message-ID:  <20110816222220.14711.qmail@mail.muc.de>
Resent-Message-ID: <201108162250.p7GMoAvi028363@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110816222220.14711.qmail>