Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Re: Uptime to web site



Eric O. Flores writes: 

> Hello Tlug, 
> 
> Is it possible to have uptime displayed on web site?

Put the following in your cgi-bin dir and chmod 555 it: 

 ------[ uptime.sh ]-----------
#!/bin/sh
echo Content-type: text/plain
echo
echo `uptime`
 ------------------------------ 

 

 --
ISBN: 0060256575       OpenPGP: 0xBE40FF3E 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links