How to get CPU usage on Mac OS X (not use top command)
I need to collect for CPU usage oftentimes, and the top command costs lots of time (top -F -R -l 1). I also try "sysctl" and "sysctlbyname" but below functions cannot get CPU usage. So, if there is any API or command line 
How to get CPU usage on Mac OS X (not use top command)
===

I need to collect for CPU usage oftentimes, and the top command costs lots of time (top -F -R -l 1). I also try "sysctl" and "sysctlbyname" but below functions cannot get CPU usage. So, if there is any API or command line 