Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (18 sloc) 0.644 kb

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
Jump to Line
Something went wrong with that request. Please try again.