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
- Host: GitHub
- URL: https://github.com/antonfisher/utop
- Owner: antonfisher
- License: mit
- Created: 2018-01-27T06:33:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-01-28T06:41:22.000Z (over 7 years ago)
- Last Synced: 2025-03-18T15:48:31.592Z (over 1 year ago)
- Topics: cli, javascript, nodejs, process-monitoring
- Language: JavaScript
- Homepage:
- Size: 325 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# utop
CLI tool for single process monitoring written in Node.js
[](https://travis-ci.org/antonfisher/utop)
[](https://www.npmjs.com/package/utop)
[](https://github.com/antonfisher/utop/blob/master/LICENSE)


## 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
```
```bash
# height = 3 rows
$ utop --demo -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.