Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Uptime to web site
- Date: Tue, 20 Aug 2002 14:04:35 +0900
- From: "A. Sajjad Zaidi" <sajjad@example.com>
- Subject: Re: [tlug] Uptime to web site
- References: <F163njPP8zhACoTnjAF0001b332@example.com> <1029816342.17259.3.camel@example.com>
- User-agent: Mutt/1.4i
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Aug 20, 2002 at 01:05:42PM +0900, Eric O. Flores wrote: > I am generating static pages. > Someone put a nice script for the cgi bin directory. > I will try his script and look at the end result. You could also run a cronjob as often as you like and generate a page from it. Something like this will work for a simple page that shows the uptime in days: echo "<html><head></head><body> \ `uptime | awk '{ print $3" days" }'` \ </body></html>" > /home/www/uptime.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Yc3it1KjqyZ+DQ4RAoLZAKCQqNVDFNIWPmsR20OrOfzAXYLttwCgij0Z 6X4z4kcKjgY6UOC41ifUiNE= =cMK9 -----END PGP SIGNATURE-----
- Follow-Ups:
- Re: [tlug] Uptime to web site
- From: Eric O. Flores
- References:
- Re: [tlug] Uptime to web site
- From: Jean-Christian Imbeault
- Re: [tlug] Uptime to web site
- From: Eric O. Flores
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Uptime to web site
- Next by Date: Re: [tlug] Uptime to web site
- Previous by thread: Re: [tlug] Uptime to web site
- Next by thread: Re: [tlug] Uptime to web site
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links