Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (18 sloc) 644 Bytes

Linux CPU Usage Monitor

./cpu-usage-monitor.sh -h
Linux CPU Usage Monitor

  Author: Moises P. Sena (http://moisespsena.com)
  Original Author: Paul Colby (http://colby.id.au)

Usage ./cpu-usage-monitor.sh [-l [-s|-f] |-h]

Options

  -h: Print this messsage

  -s: Print the percent number. Example: 10

  -f: Print the formated percent number. Example: CPU: 10%

  -l: Print with infinit loop

Examples:

  ./cpu-usage-monitor.sh -s
  ./cpu-usage-monitor.sh -f
  ./cpu-usage-monitor.sh -l -s
  ./cpu-usage-monitor.sh -l -f
  ./cpu-usage-monitor.sh -h