Cgroup_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard implements Opcenter\Contracts\Hookable
Methods Summary
public
# get_usage( $controller )
public
public
public
# get_limits( )
Get configured limits
public
# enabled( )
public
# _verify_conf( Opcenter\Service\ConfigurationContext $ctx )
public
public
public
public
public
public
# _edit_user( string $userold , string $usernew , array $oldpwd )
public
Methods inherited from Module\Skeleton\Standard
__construct(), set_user_parameters(), clean_user_parameters(), set_session_id(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), get_service_names(), get_services(), get_new_services(), get_active_services(), get_config(), get_service_value(), set_config_journal(), set_config(), query(), _resetModule()
Constants Summary
public string CGROUP_LOCATION
# '/sys/fs/cgroup'
public array DEPENDENCY_MAP
# array ( 0 => 'apache', )
public int MAX_MEMORY
# 16384
public int DEFAULT_MEMORY
# 512
public int DEFAULT_CPU
# 10240
public int MAX_PROCS
in MB
# 25
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions
# array ( '*' => 11, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id, $pgsql, $mysql