An open API service indexing awesome lists of open source software.

https://github.com/antonfisher/utop

CLI tool for single process monitoring written in Node.js
https://github.com/antonfisher/utop

cli javascript nodejs process-monitoring

Last synced: about 1 year ago
JSON representation

CLI tool for single process monitoring written in Node.js

Awesome Lists containing this project

README

          

# utop

CLI tool for single process monitoring written in Node.js

[![Build Status](https://travis-ci.org/antonfisher/utop.svg?branch=master)](https://travis-ci.org/antonfisher/utop)
[![npm](https://img.shields.io/npm/v/utop.svg?colorB=brightgreen)](https://www.npmjs.com/package/utop)
[![GitHub license](https://img.shields.io/github/license/antonfisher/utop.svg)](https://github.com/antonfisher/utop/blob/master/LICENSE)
![status](https://img.shields.io/badge/status-beta-lightgray.svg)

![Main view](https://raw.githubusercontent.com/antonfisher/utop/docs/images/demo.v1.gif)

## Try w/o installation
```bash
#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
```bash
sudo npm install -g utop
```

## Usage
```bash
$ utop

Usage: utop [options]

Options:

-i, --interval update interval in seconds (default: 0.5)
-h, --chart-height 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
```bash
# default
$ utop --demo
```

UTop -h 1



```bash
# height = 3 rows
$ utop --demo -h 3
```

UTop -h 3


## Requirements
Node.js v6.0.0 or higher.

## Development version
```bash
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.