Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jan 2001 16:33:56 +1030 (CST)
From:      Benjamin Close <linux@senet.com.au>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   running top at startup
Message-ID:  <Pine.BSF.4.31.0101021629490.7044-100000@bytes4u.nodomain.yet>
In-Reply-To: <31130710.978408995763.JavaMail.qmailuser@mlapp1.chinaren.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101021629490.7044-100000>