Skip to content

Instantly share code, notes, and snippets.

@ymek
Created October 25, 2010 14:49
Show Gist options
  • Save ymek/645073 to your computer and use it in GitHub Desktop.
Save ymek/645073 to your computer and use it in GitHub Desktop.
Chef Example Run
[root@test tmp]# sar -u 2 5
-bash: sar: command not found
You have new mail in /var/spool/mail/root
[root@test tmp]# chef-client
[Mon, 25 Oct 2010 10:42:32 -0400] INFO: Starting Chef Run (Version 0.9.8)
[Mon, 25 Oct 2010 10:42:33 -0400] INFO: Storing updated cookbooks/zabbix-test/recipes/default.rb in the cache.
[Mon, 25 Oct 2010 10:42:43 -0400] INFO: Upgrading package[sysstat] version from uninstalled to 7.0.2-3.el5_5.1
[Mon, 25 Oct 2010 10:43:02 -0400] INFO: Chef Run complete in 30.048458 seconds
[Mon, 25 Oct 2010 10:43:02 -0400] INFO: Running report handlers
[Mon, 25 Oct 2010 10:43:02 -0400] INFO: Report handlers complete
[root@test tmp]# sar -u 2 5
Linux 2.6.18-194.3.1.el5 (test) 10/25/2010
10:43:31 AM CPU %user %nice %system %iowait %steal %idle
10:43:33 AM all 0.00 0.00 0.25 0.00 0.00 99.75
10:43:35 AM all 0.00 0.00 0.00 7.25 0.00 92.75
10:43:37 AM all 0.00 0.00 0.00 0.00 0.00 100.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment