$p= new Process('uptime');
$uptime= $p->out->readLine();
$p->close();
var_dump($uptime);
Show file
Open project: videlalvaro/phacterl
Class Usage Examples
Method | Description | |
---|---|---|
handle_neighbors ( $msg, $state ) | ||
handle_position ( $msg, $state ) | ||
handle_start ( $msg, $state ) | ||
init ( $args ) | ||
receive ( ) | ||
start ( $state ) |