Process
in package
Table of Contents
- execute() : int
- getAdvancedMemoryUsage() : array<string|int, int>
- getMemoryUsage() : int
- getRealMemoryUsage() : array<string|int, int>
- getThreadCount() : int
- kill() : void
- pid() : int
- uid() : int
- __construct() : mixed
Methods
execute()
public
static execute(string $command[, string|null &$stdout = null ][, string|null &$stderr = null ]) : int
Parameters
- $command : string
-
Command to execute
- $stdout : string|null = null
-
Reference parameter to write stdout to
- $stderr : string|null = null
-
Reference parameter to write stderr to
Return values
int —process exit code
getAdvancedMemoryUsage()
public
static getAdvancedMemoryUsage() : array<string|int, int>
Tags
Return values
array<string|int, int> —getMemoryUsage()
public
static getMemoryUsage() : int
Return values
int —getRealMemoryUsage()
public
static getRealMemoryUsage() : array<string|int, int>
Return values
array<string|int, int> —getThreadCount()
public
static getThreadCount() : int
Return values
int —kill()
public
static kill(int $pid, bool $subprocesses) : void
Parameters
- $pid : int
- $subprocesses : bool
Return values
void —pid()
public
static pid() : int
Return values
int —uid()
public
static uid() : int
Return values
int —__construct()
private
__construct() : mixed