#see below page if you need more functions
#http://www.thegeekstuff.com/2011/03/sar-examples/
#CPU Usage of Individual CPU or Core (reports for every 1 seconds a total of 10 times)
sar -P ALL 1 10
#Memory Free and Used
sar -r 1 10
#Swap Space Used
sar -S 1 10
#Overall I/O Activities
#tps – Transactions per second (this includes both read and write)
#rtps – Read transactions per second
#wtps – Write transactions per second
#bread/s – Bytes read per second
#bwrtn/s – Bytes written per second
sar -b 1 10
#Individual Block Device I/O Activities
sar -p -d 1 10
#Display context switch per second
sar -w 1 10
#Reports run queue and load average
sar -q 1 10
#Report network statistics
sar -n ALL