*** Welcome to piglix ***

Sar in UNIX


In computing, sar (System Activity Report) is a Unix System V-derived system monitor command used to report on various system loads, including CPU activity, memory/paging, device load, network. Linux distributions provide sar through the sysstat package.

Displays current CPU activity.

To add hourly and average CPU usage to a logfile:


...
Wikipedia

...