Re: Server Uptime

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

 



quoth the Brad Ciszewski:
> What is the function, or how do you make a script that displays the
> server's uptime?
>
> Thanks,
>
> Brad Ciszewski
> www.BradTechnologies.com Web Services

Unless I am mistaken, there is no built in function for uptime. What I have 
done is put a static binary of 'uptime' into safe_mode_exec_dir (specified in 
php.ini) and use an exec call to get the info...

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972

Attachment: pgpLodNclPvvR.pgp
Description: PGP signature


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux