Get the hardware component usage information, save it in a textfile.