Re: Running top on system console without being logged on

2005-01-07 Thread Colin J. Raven
On Jan 6 at 21:04, Anthony Atkielski launched this into the bitstream: Reko Turja writes: RT Actually not command line options as such, but you can make a login RT class for the top user in /etc/login.conf and feed the options via TOP RT environment variable from there. RT RT You cant shell out

Re: Running top on system console without being logged on

2005-01-06 Thread Reko Turja
- Original Message - From: Anthony Atkielski [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Thursday, January 06, 2005 3:48 AM Subject: Re: Running top on system console without being logged on How about creating a user like this with vipw: topper::userno:groupno::0:0:Topper

Re: Running top on system console without being logged on

2005-01-06 Thread Anthony Atkielski
Reko Turja writes: RT Actually not command line options as such, but you can make a login RT class for the top user in /etc/login.conf and feed the options via TOP RT environment variable from there. RT RT You cant shell out from top and renicing from non root account is RT impossible (except

Re: Running top on system console without being logged on

2005-01-05 Thread Reko Turja
I'd like to run top on the system console to keep an eye on the system, but I'd prefer not to have the console logged on to do so. Is there an elegant way to do this? How about creating a user like this with vipw: topper::userno:groupno::0:0:Topper Harley:/nonexistent:/usr/bin/top and then just

Re: Running top on system console without being logged on

2005-01-05 Thread Anthony Atkielski
How about creating a user like this with vipw: topper::userno:groupno::0:0:Topper Harley:/nonexistent:/usr/bin/top and then just logging in on spare console screen as topper? I'm not sure if there are security implications though, even if the user is not member of the wheel group etc. I've

Re: Running top on system console without being logged on

2005-01-04 Thread Lowell Gilbert
Anthony Atkielski [EMAIL PROTECTED] writes: I'd like to run top on the system console to keep an eye on the system, but I'd prefer not to have the console logged on to do so. Is there an elegant way to do this? /etc/ttys is the usual way. I can't seem to get it working quickly, though.

Running top on system console without being logged on

2005-01-03 Thread Anthony Atkielski
I'd like to run top on the system console to keep an eye on the system, but I'd prefer not to have the console logged on to do so. Is there an elegant way to do this? I know I can start top and redirect output to /dev/console and detach it from the current terminal with top -s 3 /dev/console ,