System_ProcWatch_Parser::getParsedData

System_ProcWatch_Parser::getParsedData() – Get parsed data

Synopsis

array &System_ProcWatch_Parser::getParsedData ( string $ps_args = 'aux' , bool $refresh = false )

Description

This is the main method of this class. It fetches to output of ps, executed on the shell, and returns the parsed data as an 2 dimensional indexed and associatve array.

Parameter

string $ps_args

ps' arguments

boolean $refresh

whether to refresh our data

Return value

Returns array of processes parsed from ps' output.

Throws

Throws no exception.

Note

This function can not be called statically.