Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 644 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 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