phpCoreLib2
[ class tree: phpCoreLib2 ] [ index: phpCoreLib2 ] [ all elements ]

Class: DMonitorTools

Source Location: /System/DMonitorTools.php

Class Overview

DObject
   |
   --DMonitorTools

System monitor tool


Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: DObject

DObject::__construct()
Constructor
DObject::debug()
Debig
DObject::getClassMembers()
Gets member variables of the instance
DObject::getClassMemberType()
Gets class member type
DObject::getClassMethods()
Gets classes of the class
DObject::getClassName()
Gets class name
DObject::PHPSerialize()
Gets serialized string of the class
DObject::trace()
Trace
DObject::__destruct()
Descructor
DObject::__toString()
Returns String equivalent of the object.

Class Details

[line 16]
System monitor tool



[ Top ]


Class Methods


static method getHostIp [line 56]

static string getHostIp( )

Gets host ip



Tags:

access:  public


[ Top ]

static method getMemoryUsage [line 32]

static string getMemoryUsage( [int $dimension = DFileSizeDimensions::BYTE], [strin $format = "%.4f"])

Gets memory usage of he PHP



Tags:

access:  public


Parameters:

int   $dimension   The dimentions are as followed
  • 0) Bytes
  • 1) KBytes
  • 2) MBytes
  • 3) GBytes
  • 4) TBytes
  • so on...
strin   $format  

[ Top ]

static method getMicroTime [line 99]

static string getMicroTime( )

Gets microtime



Tags:

access:  public


[ Top ]

static method getPID [line 45]

static int getPID( )

Get process PID



Tags:

access:  public


[ Top ]

static method getUserAgent [line 78]

static string getUserAgent( )

Gets user agent



Tags:

access:  public


[ Top ]

static method getUserIp [line 67]

static string getUserIp( )

Gets user ip



Tags:

access:  public


[ Top ]

static method getUserReferer [line 89]

static string getUserReferer( )

Gets user referer



Tags:

access:  public


[ Top ]


Documentation generated on Sat, 17 Apr 2010 22:08:01 +0300 by phpDocumentor 1.4.3