Or that... :P
On 7/24/05, Joe Wollard <[EMAIL PROTECTED]> wrote:
> As always, look for someone else's existing project and see how they
> did it. ;-)
>
> http://phpsysinfo.sourceforge.net/
>
> Good Luck!
> -Joe
>
> On Jul 23, 2005, at 9:25 AM, André Medeiros wrote:
>
> > First of all, you want
As always, look for someone else's existing project and see how they
did it. ;-)
http://phpsysinfo.sourceforge.net/
Good Luck!
-Joe
On Jul 23, 2005, at 9:25 AM, André Medeiros wrote:
First of all, you want to have the two values in seperate variables.
After reading the contents from the fil
First of all, you want to have the two values in seperate variables.
After reading the contents from the file, do something like:
-8<-
function parseUptimeSeconds( $seconds ) {
$resultArray = Array( 'weeks' =>
On 7/23/05, Vidyut Luther <[EMAIL PROTECTED]> wrote:
> Ok,
> If I use the file_get_contents.. how do I actually parse the
> contents on /proc/uptime
> cat /proc/uptime
> 1400293.13 1317047.64
The first number is the total uptime in seconds, the second number is
the total idle time.
--
Ok,
If I use the file_get_contents.. how do I actually parse the
contents on /proc/uptime
cat /proc/uptime
1400293.13 1317047.64
What do I do with those two numbers ?
man uptime doesn't really talk about that file.. :/
On Jul 22, 2005, at 2:42 AM, Jasper Bryant-Greene wrote:
Vidyut Luth
5 matches
Mail list logo