cosa è " typeperf -q"?

un comando del sistema?

Allora puoi usare http://fr.php.net/manual/en/function.system.php

Ciao