Captures process information from ps -waxl and writes it to a log file named after the process. Can have a variable sleep time between readings.
$oApp = new cliApplication('example', 'A simple example.');
$oRequest = cliRequest::getInstance()->setApplication($oApp);
$oApp->getCommandChain()
->addCommand(new cliCommandProcessLogger($oRequest))
$oApp->execute($oRequest);
public __construct($inRequest)
Creates a new command
public execute()
Executes the command
Tags: cli, clicommand, clicommandprocesslogger,
cli Articles