Skip to content

Instantly share code, notes, and snippets.

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 59752 2924 ? Ss Dec10 0:02 /sbin/init
root 2 0.0 0.0 0 0 ? S Dec10 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S Dec10 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S Dec10 0:03 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S Dec10 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S Dec10 0:01 [migration/1]
root 7 0.0 0.0 0 0 ? S Dec10 0:00 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S Dec10 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S Dec10 0:00 [migration/2]
@arctouch-shadowroldan
arctouch-shadowroldan / vmwaretools.rb
Created November 14, 2011 21:49
a simple vmware tools cookbook
case node[:lsb][:codename]
when "lucid"
unless node['virtualization']['system'].nil?
if node['virtualization']['system'] == 'vmware'
package "linux-headers-virtual" do
action :install
end
package "open-vm-dkms" do
options "--no-install-recommends"
action :install
" Use Vim settings, rather then Vi settings (much better!).
" This must be first, because it changes other options as a side effect.
set nocompatible
set paste
set nowritebackup
set history=100 " keep 100 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set incsearch " do incremental searching