Skip to content

CLI tool for single process monitoring written in Node.js

License

Notifications You must be signed in to change notification settings

antonfisher/utop

Repository files navigation

utop

CLI tool for single process monitoring written in Node.js

Build Status npm GitHub license status

Main view

Try w/o installation

#run demo
npx utop --demo

#run any program
npx utop node server.js

#run any program with options
npx utop -- tail -f /var/log/syslog

Install globally

sudo npm install -g utop

Usage

$ utop

  Usage: utop [options] <command>

  Options:

    -i, --interval <n>      update interval in seconds (default: 0.5)
    -h, --chart-height <n>  chart height in rows (default: 1)
    --demo                  run program in demo mode
    -v, --version           output the version number
    -h, --help              output usage information

Chart height

# default
$ utop --demo
UTop -h 1

# height = 3 rows
$ utop --demo -h 3
UTop -h 3

Requirements

Node.js v6.0.0 or higher.

Development version

git clone https://github.com/antonfisher/utop.git
npm install
npm run dev
npm run demo
npm run test:cpu
npm run build

License

MIT License. Free use and change.