added tstat managing C programs

Signed-off-by: Marco Milanesio <milanesio.marco@gmail.com>