From owner-freebsd-questions Mon Mar 25 9:42:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from glow.binity.net (glow.binity.net [213.84.201.224]) by hub.freebsd.org (Postfix) with ESMTP id A2BAD37B405 for ; Mon, 25 Mar 2002 09:42:11 -0800 (PST) Received: from vscan (glow.dt1.binity.net [172.23.18.1]) by glow.binity.net (Postfix) with ESMTP id E30EE55BC; Mon, 25 Mar 2002 18:41:46 +0100 (CET) Received: from there (silver.dt1.binity.net [172.23.3.20]) by glow.binity.net (Postfix) with SMTP id E31DA5588; Mon, 25 Mar 2002 18:41:42 +0100 (CET) Content-Type: text/plain; charset="iso-8859-1" From: Walter Hop Message-Id: <200203251840.33315@silver.dt1.binity.net> To: "Drew Tomlinson" , Subject: Re: Showing Uptime Via webpage Date: Mon, 25 Mar 2002 18:41:56 +0100 X-Mailer: KMail [version 1.3.2] Cc: References: <3C9E0754.2010104@verizon.net> <006201c1d423$ee01be00$f82a6ba5@lc.ca.gov> In-Reply-To: <006201c1d423$ee01be00$f82a6ba5@lc.ca.gov> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by glow.binity.net (amavis-perl-11-sky2) 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 [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"? -- Walter Hop | +31 6 24290808 | PGP keyid 0x84813998 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message