Skip to content

Instantly share code, notes, and snippets.

@denisshevchenko
Created May 25, 2016 05:23
Show Gist options
  • Save denisshevchenko/bcf73fd540de6ef54f04c2f87170ef57 to your computer and use it in GitHub Desktop.
Save denisshevchenko/bcf73fd540de6ef54f04c2f87170ef57 to your computer and use it in GitHub Desktop.
# http://www.tecmint.com/command-line-tools-to-monitor-linux-performance/
# Top – Linux Process Monitoring
$ top
# VmStat – Virtual Memory Statistics
$ vmstat
# Lsof – List Open Files
$ lsof
# Tcpdump – Network Packet Analyzer
$ tcpdump -i eth0
# Netstat – Network Statistics
$ netstat -a | more
# Htop – Linux Process Monitoring
$ htop
# Iotop – Monitor Linux Disk I/O
$ iotop
# Iostat – Input/Output Statistics
$ iostat
# iftop – Network Bandwidth Monitoring
$ iftop
# Disk usage
$ cd directory
# Shows whole size of this directory.
$ sudo du -sh .
# Shows size of all entities in this directory.
$ sudo du -sh *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment