System_ProcWatch_Parser::getProcInfo

System_ProcWatch_Parser::getProcInfo() – Get information about processes

Synopsis

array System_ProcWatch_Parser::getProcInfo ( string $pattern , string $search )

Description

Get information about processes matching the defined search.

Parameter

string $pattern

PCRE to match for process

string $search

the ps field/column to search in

Return value

Returns array of processes matching the search.

Throws

Throws no exception.

Note

This function can not be called statically.