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: 20 Aug 2002 14:40:20 +0900
- From: "Eric O. Flores" <eoflores@example.com>
- Subject: Re: [tlug] Uptime to web site
- References: <F163njPP8zhACoTnjAF0001b332@example.com><1029816342.17259.3.camel@example.com> <20020820050435.GU11326@example.com>
Dear Sajjad Zaidi, I tried you script but there is something confusing with it!!!?? it generates no output! It seems that a direct uptime command in a shell works fine updating the time to a blank page uptime.html "uptime > /home/mydir/uptime.html" The end result looks like: 2:31pm up 1 day, 3:07, 1 user, load average: 0.00, 0.02, 0.05 The code looks like this: <html> <head> </head> <body> 2:31pm up 1 day, 3:07, 1 user, load average: 0.00, 0.02, 0.05 </body> </html> On Tue, 2002-08-20 at 14:04, A. Sajjad Zaidi wrote: > -----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 >> I tried you script but there is something confusing with it!!!?? >> >>It seems that a direct "uptime > /home/mydir/uptime.html" works fine >>appending the time to a blank page uptime.html > >
- Follow-Ups:
- Re: [tlug] Uptime to web site
- From: A. Sajjad Zaidi
- References:
- Re: [tlug] Uptime to web site
- From: Jean-Christian Imbeault
- Re: [tlug] Uptime to web site
- From: Eric O. Flores
- Re: [tlug] Uptime to web site
- From: A. Sajjad Zaidi
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