Date: Wed, 3 Jan 2001 21:58:19 -0800 From: Christian Lacunza <celacunza@flashmail.com> To: Benjamin Close <linux@senet.com.au> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: running top at startup Message-ID: <14932.4347.994406.935645@hp0.pacbell.net>
next in thread | raw e-mail | index | archive | help
hi benjamin. you could autologin a user whose shell is top. odd, but it works. -- christian. /etc/ttys: ttyvb "/usr/libexec/getty top" cons25 on secure /etc/gettytab: top:\ :al=topuser:tc=std.9600: > 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?14932.4347.994406.935645>