I am looking for a way to log system resource usage (Memory, CPU, Disk IO, Network IO, Swap Usage, etc...) on a Mac. Most of the tools I have seen (Activity Monitor, top, and 3rd party tools) only display the current usage for these metrics. I am hoping to be able to gather this data so that I can have a full set of diagnostic information in order to be able analyze reported issues.
I know this question is similar to How can I track and log CPU and memory usage on a Mac, but I am looking for a way that can get the full picture of resource usage, not just CPU and memory. I know on linux systems, there are tools like atop and sar. Atop does not seem to be available for Macs and there does not seem to be a way to get sar to do this sort of continuous logging without some significant hacks (see Mac osx sar Hack - blog post). I know this blog post is dated, but I have not seen anything newer.
Ideally, I would like to be able to have a log of the resource utilization of a mac over the past 24 hours. I would greatly appreciate advice on how I may be able to do this.