From owner-freebsd-questions Mon Mar 25 9:55:21 2002 Delivered-To: freebsd-questions@freebsd.org Received: from blacklamb.mykitchentable.net (207-173-241-155.elk.frontiernet.net [207.173.241.155]) by hub.freebsd.org (Postfix) with ESMTP id D2E8237B404 for ; Mon, 25 Mar 2002 09:55:17 -0800 (PST) Received: from tagalong (unknown [165.107.42.248]) by blacklamb.mykitchentable.net (Postfix) with SMTP id 22EB8EE65A; Mon, 25 Mar 2002 09:55:31 -0800 (PST) Message-ID: <007a01c1d426$38b2c410$f82a6ba5@lc.ca.gov> From: "Drew Tomlinson" To: "Walter Hop" , Cc: References: <3C9E0754.2010104@verizon.net> <006201c1d423$ee01be00$f82a6ba5@lc.ca.gov> <200203251840.33315@silver.dt1.binity.net> Subject: Re: Showing Uptime Via webpage Date: Mon, 25 Mar 2002 09:55:16 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ----- Original Message ----- From: "Walter Hop" To: "Drew Tomlinson" ; Cc: Sent: Monday, March 25, 2002 9:41 AM Subject: Re: Showing Uptime Via webpage > [in reply to Drew Tomlinson, Monday 25 March 2002 18:38] > > > > #!/usr/bin/perl > > > print "Content-type: text/plain\n\n"; > > > system ("uptime"); > > > exit; > > > > I tried this just out of curiosity but ran into problems. I don't get > > any errors but I just get a blank web page. > > What happens if you run "/usr/bin/uptime" instead of "uptime"? Thanks for your suggestion. However, "/usr/bin/uptime" makes no difference. The page is still blank. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message