Virial output

Is there anyway to have virial outputted with the properties of .extxyz files?

I think it will write anything you put into atoms.info.