Skip to content

Instantly share code, notes, and snippets.

@hhulkko
Created January 10, 2014 07:47
Show Gist options
  • Select an option

  • Save hhulkko/8348316 to your computer and use it in GitHub Desktop.

Select an option

Save hhulkko/8348316 to your computer and use it in GitHub Desktop.
lscpu
wget http://nmon.sourceforge.net/docs/MPG_nmon_for_Linux_14a_binaries.zip
unzip MPG_nmon_for_Linux_14a_binaries.zip
sudo mv nmon_x86_64_centos5 /usr/local/bin/nmon
nmon -h
NMON=cmdrvtan nmon
NMON=cmdvtan nmon
NMON=cmdn nmon
sudo yum install dstat
dstat
dstat --list
dstat --top-cpu
dstat --bw --top-cpu
dstat -f --bw --top-cpu
dstat --noupdate --bw --top-cpu
dstat --noupdate -bw --top-cpu
dstat -bw --top-cpu
dstat --bw --top-cpu
dstat --bw --top-cpu --all
dstat --bw --top-cpu --all
dstat --bw -c
dstat --bw -c --noupdate
dstat --bw -c --noupdate delay 30
dstat --bw -c --noupdate delay 10
dstat --bw -c --noupdate 30
dstat --bw -c 30
top
htop
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
sudo rpm -i rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
sudo yum install htop
###### .config/htop/htoprc
# fields=0 48 17 18 38 39 40 2 46 47 49 1·
# sort_key=46
# sort_direction=1
# hide_threads=0
# hide_kernel_threads=1
# hide_userland_threads=0
# shadow_other_users=0
# show_thread_names=0
# highlight_base_name=0
# highlight_megabytes=1
# highlight_threads=0
# tree_view=0
# header_margin=1
# detailed_cpu_time=0
# cpu_count_from_zero=0
# update_process_names=0
# color_scheme=3
# delay=15
# left_meters=Hostname AllCPUs Memory Swap·
# left_meter_modes=2 1 1 1·
# right_meters=Tasks LoadAverage Uptime·
# right_meter_modes=2 2 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment