PHP Class EricMakesStuff\ServerMonitor\Monitors\DiskUsageMonitor

Inheritance: extends BaseMonitor
Mostrar archivo Open project: ericmakesstuff/laravel-server-monitor Class Usage Examples

Protected Properties

Property Type Description
$alarmPercentage integer
$freeSpace integer
$path string
$percentageUsed float
$totalSpace integer
$usedSpace integer

Public Methods

Method Description
__construct ( array $config )
getAlarmPercentage ( ) : string
getFreeSpace ( ) : string
getPath ( ) : mixed | string
getPercentageUsed ( ) : string
getTotalSpace ( ) : string
getUsedSpace ( ) : string
runMonitor ( )

Method Details

__construct() public method

public __construct ( array $config )
$config array

getAlarmPercentage() public method

public getAlarmPercentage ( ) : string
return string

getFreeSpace() public method

public getFreeSpace ( ) : string
return string

getPath() public method

public getPath ( ) : mixed | string
return mixed | string

getPercentageUsed() public method

public getPercentageUsed ( ) : string
return string

getTotalSpace() public method

public getTotalSpace ( ) : string
return string

getUsedSpace() public method

public getUsedSpace ( ) : string
return string

runMonitor() public method

public runMonitor ( )

Property Details

$alarmPercentage protected_oe property

protected int $alarmPercentage
return integer

$freeSpace protected_oe property

protected int $freeSpace
return integer

$path protected_oe property

protected string $path
return string

$percentageUsed protected_oe property

protected float $percentageUsed
return float

$totalSpace protected_oe property

protected int $totalSpace
return integer

$usedSpace protected_oe property

protected int $usedSpace
return integer