Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 18:41:56 +0100
From:      Walter Hop <walter@binity.com>
To:        "Drew Tomlinson" <drew@mykitchentable.net>, <smorton@acm.org>
Cc:        <questions@freebsd.org>
Subject:   Re: Showing Uptime Via webpage
Message-ID:  <200203251840.33315@silver.dt1.binity.net>
In-Reply-To: <006201c1d423$ee01be00$f82a6ba5@lc.ca.gov>
References:  <Pine.GSO.4.44L0.0203232239500.14624-100000@shell.core.com> <3C9E0754.2010104@verizon.net> <006201c1d423$ee01be00$f82a6ba5@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
[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 <walter@binity.com> | +31 6 24290808 | PGP keyid 0x84813998
 

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?200203251840.33315>