All Questions
1
question
2
votes
0
answers
562
views
Writing CPU usage by core and RAM/CPU usage by process to a logfile in OS X
I am writing a script that writes memory and CPU usage to a log file, every hour on a cronjob. The logfile will look something like this:
"/n====CPU usage by core===="
Core0: 59.05% used
...