How to export stat infos to log file

I want to know the time cost,CPU utilization and other stat infos of Dedicated Server’s Physic System.The Dedicated Server is running on Linux.I can’t see the infos by command (e.g. Stat PHYSICS).I don’t know how to export the stat infos to log file,or are there other better way? Thanks!