Skip to content
Remote and multi-server version of the top command.
Branch: master
Clone or download
Pull request Compare This branch is 52 commits ahead, 73 commits behind MrRio:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
themes
.gitignore
CHANGELOG.md
LICENSE
README.md
package.json
screenshot.jpg

README.md

rtop

A light version of top for monitoring multiple servers in parallel.

Forked and heavily based on the cool vtop project.

Running

rtop host1 host2 host3

Options

-u [user]
-p [port]
-k [path/to/private.key]

For example, to log in using a specific user and port:

rtop -u user -p 24 a.domain.com b.domain.com c.domain.com

You can also pass hosts in the regular user@host:port notation:

rtop user@host1:21 deploy@host2:23 host3

You can use the two things together, of course. If a local user or port is present, it will override the globally defined one.

rtop -p 222 host1 host2:333 host3

In this case, rtop will connect hosts 1 and 3 via port 222, and use 333 for the second one.

Using rtop programatically

The API is rtop.start(hosts, options).

var rtop  = require('rtop');
   
var hosts = [ 'host1', 'someone@host2.com', 'host3.server.com:2222' ],
    opts  = { key_path: '/some/where/id_rsa' };

rtop.start(hosts, opts);

The same global vs local options apply as described above.

Install

npm install -g rtop

Who

(Over)written by Tomás Pollak, being the original code by James Hall.

Contributing

Of course. Fork, commit, create a pull request, you know the drill. Feature additions get a free cookie.

Copyright

(c) Fork, Ltd. MIT Licensed.

You can’t perform that action at this time.