char stat utility