From owner-freebsd-questions Wed Jan 3 0:28:22 2001 From owner-freebsd-questions@FreeBSD.ORG Wed Jan 3 00:28:18 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from pluto.senet.com.au (pluto.senet.com.au [203.56.239.150]) by hub.freebsd.org (Postfix) with ESMTP id A178F37B402 for ; Wed, 3 Jan 2001 00:28:17 -0800 (PST) Received: from bytes4u.nodomain.yet (c15-p27.senet.com.au [203.152.252.220]) by pluto.senet.com.au (8.11.0/8.11.0) with ESMTP id f038SDI29361 for ; Wed, 3 Jan 2001 18:58:14 +1030 (CST) (envelope-from linux@senet.com.au) Received: from localhost (linux@localhost) by bytes4u.nodomain.yet (8.11.1/8.11.1) with ESMTP id f0263uR12084 for ; Tue, 2 Jan 2001 16:33:56 +1030 (CST) (envelope-from linux@bytes4u.nodomain.yet) Date: Tue, 2 Jan 2001 16:33:56 +1030 (CST) From: Benjamin Close To: Subject: running top at startup In-Reply-To: <31130710.978408995763.JavaMail.qmailuser@mlapp1.chinaren.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi All, Where would I put the top command so that it automatically runs at startup. I normally run the command: top -i -s5 < /dev/ttyvb > /dev/ttyvb & manually, however attempts to put it in a /usr/local/etc/rc.d/something.sh script have failed as whilst the script runs, top does not daemonise itself and hence the controlling shell kills it (check /etc/rc for why). Cheers, -- * Benjamin Close To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message