From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 04:07:27 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9717516A4CE for ; Tue, 4 Jan 2005 04:07:27 +0000 (GMT) Received: from smtp1.wanadoo.fr (smtp1.wanadoo.fr [193.252.22.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BAA943D48 for ; Tue, 4 Jan 2005 04:07:27 +0000 (GMT) (envelope-from atkielski.anthony@wanadoo.fr) Received: from me-wanadoo.net (localhost.trisinus.de [127.0.0.1]) by mwinf0103.wanadoo.fr (SMTP Server) with SMTP id EA9B91F9268F for ; Tue, 4 Jan 2005 05:07:25 +0100 (CET) Received: from pix.atkielski.com (ASt-Lambert-111-2-1-3.w81-50.abo.wanadoo.fr [81.50.80.3]) by mwinf0103.wanadoo.fr (SMTP Server) with ESMTP id D05951F92684 for ; Tue, 4 Jan 2005 05:07:25 +0100 (CET) Date: Tue, 4 Jan 2005 05:07:25 +0100 From: Anthony Atkielski X-Priority: 3 (Normal) Message-ID: <1761142680.20050104050725@wanadoo.fr> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Running top on system console without being logged on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 04:07:27 -0000 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 &", but I have to do that from the console itself in order for top to see the console characteristics (I'm running in 80x50 text mode), and logging off after starting the program messes up the top display. If I try to do this from another terminal, top doesn't see the console video settings and assumes 80x25. So how can I do this? Also, is there a way to send input to stdin of the top process even after I've started and detached it (in order to redraw the screen or to give top a command, etc.)? -- Anthony